Search Results

Search: Posts Made By: Sufer
3,105
Posted By Sufer
Chubler_XL , Thanks for response. I am...
Chubler_XL ,

Thanks for response.

I am trying this:
#!/usr/bin/ksh
awk -v lengths=10,4,10 '
BEGIN { FS = "," ; OFS = ","
split(lengths,len,FS)
}
{ n = 0
...
3,105
Posted By Sufer
First 4 Characters of a column in CSV file
Hi All,

I have a CSV file in the below format:

Id,Text,File
"123","This is unix file","Unix"
"121","This is
C file","C"

Want to have output in below format:

Id,Text,File...
Showing results 1 to 2 of 2

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