Search Results

Search: Posts Made By: CJL57
2,059
Posted By CJL57
I was close. I didn't use a comma after -F and...
I was close. I didn't use a comma after -F and left the | in.
Thank you so much! It worked like charm! You're awesome!
2,059
Posted By CJL57
Below is the header and a few records with one...
Below is the header and a few records with one record in the middle that the user has used the enter key on the vendor form, causing it to go over three lines. In this example, all records begin with...
2,059
Posted By CJL57
A sample of the file?
A sample of the file?
2,059
Posted By CJL57
That code alone gives a syntax error. I don't...
That code alone gives a syntax error. I don't know how to write it correctly yet.
2,059
Posted By CJL57
Troubleshoot awk code that fixes line breaks
Hi. I'm new to UNIX. I've searched this forum and found an example of awk that works for my file to fix line breaks.

awk -F'|' 'NF != 48 || !$48 {printf $0; getline} 1' file1.csv > file2.csv
...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 11:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy