All Questions
4 questions
1
vote
3
answers
1k
views
Why paste command doesn't work for Concatenating two files column wise when the characters are more than 511?
I am using a paste command to concatenate two .csv files column wise.
These both files are huge file and when I run the paste command as below where comma(,) is the delimiter:
paste -d',' file1.csv ...
2
votes
1
answer
204
views
parsing several fields of a csv with gawk on solaris
I have a generated csv that has the following format:
unixtime;host_name;ip_adress;description;2;0;1
I have been trying to parse this csv to do the following:
change field 1 from unix timestamp to ...
6
votes
3
answers
5k
views
update line based on previous line
I have a issue since I'm not familiar with awk. I have csv file generated from sar -d output converted to csv style:
12:33:41 unix,restarts
12:35:00,lofi4096,0,0.0,0,0,0.0,0.0
,iscsi0,0,0.0,0,...
2
votes
1
answer
1k
views
solaris awk problems with date and if statements
I have daily files that come in via FTP with incorrect dates in the first column of the file. I have figured out how to deduct one day to derive the correct date and print this to a new file. The main ...