Search Results

Search: Posts Made By: Sri3001
1,424
Posted By neutronscott
awk -F, -vOFS=, '{$4=$4 OFS}1' Will...
awk -F, -vOFS=, '{$4=$4 OFS}1'


Will simply add that comma into 4th field.
2,530
Posted By asterisk-ix_use
Few mistakes in your code: 1. Your 'for' loop...
Few mistakes in your code:
1. Your 'for' loop does nothing! Remove the ; after for statement
2. You are writing an assignment when u say Change it to comparision.
3. Use a print


awk -F,...
1,973
Posted By Scrutinizer
You can enumerate the files into the loop and...
You can enumerate the files into the loop and employ two background processes, one writing to out1 and the other to out2. Using the jobs command you can check whether one of them has finished and...
1,394
Posted By chmod666
The first line should replace any occurrence of '...
The first line should replace any occurrence of ' in a line with \'
While the second replaces any " with \".

Each backslash escapes it's neighbor on the right, so \\\' means to take the 2nd...
Showing results 1 to 4 of 4

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