DISQUS

DISQUS Hello! Tech-Recipes is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Tech-Recipes

Cookbook of Tech Tutorials
Jump to original thread »
Author

bash shell script iterate through array values | Bourne shell scripting | Tech-Recipes

Started by qdideas · 9 months ago

No excerpt available. Jump to website »

6 comments

  • 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.
  • 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)
  • ah, just what I was looking for - perfect, thanks!
  • if you really have to use windows, then cygwin is your salvation.
  • Thank you very much for this snipped - just what I was looking for!
  • thnx a lot pal
    I owe u 5 marks of my final exam
    :)

Add New Comment

Returning? Login