Re: command not found

"Mike Hanby" <[email protected]> Mon, 23 Jun 2008 17:42:01 -0500
Newsgroups gmane.comp.sysutils.backup.sarab
Message-ID <[email protected]>
Or (assuming your sarab config file is /etc/sarab.conf):

perl -pi -e 's/\r\n/\n/g' /etc/sarab.conf

will make the conversion :-)

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Hiran
Chaudhuri
Sent: Monday, June 23, 2008 17:13
To: SaraB - Schedule And Rotate Automatic Backups
Subject: Re: [SaraB] command not found

> When I run the "sarab.sh" script by "# /usr/local/sarab/sarab.sh" =

> command, terminal returns this errors :
> =

> : command not foundnf: line 4:
> : command not foundnf: line 8:
> : command not foundnf: line 21:
> /sarab.dcf to continueetc/sarb/
> /rotation.schedule to continueb/

I believe to have found the cause:
In sarab.conf there are some empty lines with MS-DOS type line feeds.
Your shell seems to bump over those, and when printing out the error
message the carriage return character breaks the display you see.

Use you favourite text editor to either correct the line feeds or just
remove the empty lines, and everything should work as expected.

Hiran
_______________________________________________________________________
EINE F=DCR ALLE: die kostenlose WEB.DE-Plattform f=FCr Freunde und Deine
Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/?kid=3Dkid@mf2


------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
SaraB-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sarab-discuss

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php