Thanks a lot to Ken and hoinz for your tip. It worked great.
Thanks a lot to PHV, aigles and Chapter11 for your help on the csv format.
Best Regards
Charly
Thanks a lot to all solutions i have tested using a flat txt file and it worked it.
Now the new problem is the following:
As input file contains <CTRL> Characters at the end of the file, then the file manipulation with all these solutions canot be made:
65,/^M
18,/stand^M
0,/proc^M
0,/dev/fd^M...
I am working in a ksh script to get one an output csv file of ONLY one line like:
/,45,/usr,56,/var,41
The input file has the following information structure
/,45
/usr,56
/var,41
I was using the following command but it is showing all info overlapped and not separated by comma:
cat dftmp2 |...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.