Search Results

Search: Posts Made By: transat
6,917
Posted By transat
I tried this awk '{if (NR>=3) $4=$4" ""00""...
I tried this

awk '{if (NR>=3) $4=$4" ""00"" ""00"; print }' file > file-2

Can you propose better solution?
6,917
Posted By transat
How to insert new column with awk?
Hello guys,

I'm new to shell programming, I would like to insert two new columns in a space separated file having this format using awk, starting from the third row:

A B C D E F 1 ;
A B C D E...
1,349
Posted By transat
that works perfectly. Thank you guys.
that works perfectly. Thank you guys.
1,349
Posted By transat
Need a Linux command for find/replace column based on specific criteria.
I'm new to shell programming, I have a huge text file in the following format, where columns are separated by single space:
ACA MEX 4O_ $98.00 $127.40 $166.60 0:00 0:00 0 ;
ACA YUL TS_ $300.00...
Showing results 1 to 4 of 4

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