Re: [newbie] Bash scripts portability

2001-06-12 Thread Randy Kramer
Oops, sorry, just read more carefully and realized the last line was already blank. Randy Kramer Randy Kramer wrote: > > I don't know if this will help, but try inserting an extra blank line at > the bottom of the file (especially if there is no blank line at all > now. I've run into problems

Re: [newbie] Bash scripts portability

2001-06-12 Thread Randy Kramer
I don't know if this will help, but try inserting an extra blank line at the bottom of the file (especially if there is no blank line at all now. I've run into problems on other systems, languages, applications that have trouble dealing with a line without a line feed ending it. Good luck, Rand

Re: [newbie] Bash scripts portability

2001-06-12 Thread Paul
It was Tue, 12 Jun 2001 13:05:15 +0100 when n6tadam wrote: >bash: /usr/bin/script ":" not found >bash: /usr/bin/script Line X command not found > >(Line X being the last line in the script which is blank) > >Does anybody know why, or indeed what causes this, and if so, how do I >correct it. Unle

[newbie] Bash scripts portability

2001-06-12 Thread n6tadam
Dear List, I wonder if someone can offer assistance. One of my hobbies at school is to write bashscripts for our two proxy servers. I usually write them on my home network, which runs Suse 7.0. Our two proxy servers also run SuSE Linux 7.0. The problem I am having is that when I take a bash scri