DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

Fakeer's picture

Unregistered

Feeds

aliases

  • Fakeer

Fakeer

7 months ago

in bash shell script iterate through array values | Bourne shell scripting | Tech-Recipes on Tech-Recipes
all kinds of errors will popup if you write this (or any) script on windows. i was almost giving up when i realised i had written it on notepad and saved on the linux box over samba. use dostounix <scriptfile> to fix the format.
1 reply
RobbyC The reason for this error is that the control character sequence used by DOS (Windows, \r\n) is different from the sequnce used by UNIX (*NIX, \n)
Returning? Login