Search Results

Search: Posts Made By: kpkanani
24,435
Posted By kpkanani
Please use below
Hello Bhaskar,
This is what you need??$ cat file3
COL1,COL2,COL3,COL4,COL5
1,A,B,C,D
2,e,f,g,h
$ cat file3 | awk -F "," '{out=$1; for(i=2;i<=NF-2;i++){out=out","$i}; print out","$(NF-1)$NF}'...
Showing results 1 to 1 of 1

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