Alan W. Irwin wrote:
The Bourne shell uses -s if I remember correctly, but I never thought
On 2006-11-29 12:06+0100 Arjen Markus wrote:
Argh, why didn't I think of that! You are most probably right. Well, I
what is happening (or rather, what is not happening) later then.
scripts is always, well, cumbersome)
Just learned a trick about that from
Temporarily replace #!/bin/bash with #!/bin/bash -x
That prints out everything as the script proceeds which is extremely useful for
(Probably one of those things virtually everybody knows who has worked
seriously with scripts, but I was not aware of it until a few days ago.)
putting these options in the magic first line. Good idea, though!
Anyway, the culprit for the failure is clear: cat. It does not exist on
so I will change the script to use echo instead (as that is an internal