Re: script echo on like MS-DOS?

2005-02-23 Thread Christopher Kelley
Giorgos Keramidas wrote: On 2005-02-22 23:32, Christopher Kelley [EMAIL PROTECTED] wrote: Is there a simple way to cause a shell script to echo to the terminal similar to the old MS-DOS echo on command? You can do similar things with the set -x option of sh(1): Thanks. Yes, I'm using

script echo on like MS-DOS?

2005-02-22 Thread Christopher Kelley
Is there a simple way to cause a shell script to echo to the terminal similar to the old MS-DOS echo on command? I've tried to read the fine man pages, and even tried looking at for instance the make scripts that seem to echo their commands to the terminal, but I couldn't even being to follow

Re: script echo on like MS-DOS?

2005-02-22 Thread Erik Trulsson
On Tue, Feb 22, 2005 at 11:32:17PM -0800, Christopher Kelley wrote: Is there a simple way to cause a shell script to echo to the terminal similar to the old MS-DOS echo on command? I've tried to read the fine man pages, and even tried looking at for instance the make scripts that seem to

Re: script echo on like MS-DOS?

2005-02-22 Thread Matt Navarre
On Tuesday 22 February 2005 11:32 pm, Christopher Kelley wrote: Is there a simple way to cause a shell script to echo to the terminal similar to the old MS-DOS echo on command? on the first line have #! /bin/sh -x or type /bin/sh -x script -x also does the same thing for csh scripts. This

Re: script echo on like MS-DOS?

2005-02-22 Thread Giorgos Keramidas
On 2005-02-22 23:32, Christopher Kelley [EMAIL PROTECTED] wrote: Is there a simple way to cause a shell script to echo to the terminal similar to the old MS-DOS echo on command? You can do similar things with the set -x option of sh(1): % gothmog:/tmp$ cat echo.sh % #!/bin/sh % % set -x % ls