Re: scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/3/06, Paul Howarth <paul@xxxxxxxxxxxx> wrote:
> John Summerfied wrote:
> > Les Mikesell wrote:
> >

> >> They were probably created under windows and transferred over
> >> with carriage-return, line-feed endings intact.  If you
> >> load them into vim, type :set fileformat=unix and save
> >> again it should fix them.  Or use the dos2unix program.
> >>

> >
> > Any more ways to change this light bulb?
>
> How about:
>
> sed -i -e 's/\r//' script
>

g?

--
imalone


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux