in reply to Re: how to convert new line to ","
in thread how to convert new line to ","
cat data.txt | perl -00pe 's/\\n/,/g'
cat data.txt | perl -l -00pe 's/\n/,/g'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: how to convert new line to ","
by moritz (Cardinal) on Jul 25, 2008 at 08:40 UTC | |
by massa (Hermit) on Jul 25, 2008 at 09:37 UTC | |
by repellent (Priest) on Jul 27, 2008 at 02:35 UTC |