[ale] help with a tiny shell script
Danny Cox
danscox at mindspring.com
Wed Nov 17 22:16:40 EST 2004
All,
On Tue, 2004-11-16 at 08:07, Geoffrey wrote:
> for fn in *.csv; do
> cat $fn
> echo
> done > output
>
> OR
>
> for fn in *.csv; do
> sed 's/$/\n/' $fn
> done > output
Y'all might hate me for this, but try:
sed G *.csv
and stand well back. ;-)
The G command in sed will double space the input for ya.
--
kernel, n.: A part of an operating system that preserves the
medieval traditions of sorcery and black art.
Danny
More information about the Ale
mailing list