* Theo <T.> writes:
> Why not do something like:
> for file in `ls thedirectorythefilesarein`
> do `sed -e s/\^M/\^J/ < $file > tmpfile` ;
> mv $tmpfile $file
> done
No reason at all except I don't know a great deal about sed. :)
Thanks for the idea
===========================
Want to really learn Linux?
... Install Slackware
===========================
--
|---<Regards, Steve Youngs>-------------------------------------|
| Genius is the ability to |
| reduce the complicated to the simple |
|------------------------------------<[EMAIL PROTECTED]>---|
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs
- Re: shell script question Steve Youngs
- Re: shell script question Steve Youngs
- Re: shell script question Greg Olszewski
- Re: shell script question Steve Youngs
- Re: shell script question Greg Olszewski
- Re: shell script question Steve Youngs
- Re: shell script question Marc Mutz
- Re: shell script question Steve Youngs
- Re: shell script question Steve Youngs
- Re: shell script question T. Sean (Theo) Schulze
- Re: shell script question Steve Youngs
- Re: shell script question Richard Adams
- Re: shell script question Steve Youngs
- Re: shell script question T. Sean (Theo) Schulze
- Re: shell script question Steve Youngs
- shell script question Jim Reimer
- Re: shell script question Marc Mutz
- Re: shell script question Richard Adams
- Re: shell script question Marc Mutz
- Re: shell script question Marc Mutz
- Re: shell script question Jim Reimer
