script "echo on" like MS-DOS?

Matt Navarre mnavarre at cox.net
Wed Feb 23 07:45:31 GMT 2005


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 might not be what you want, but it's the closest thing I can think of to 
"echo on"

>
> 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 them.
>
> Thanks,
>
> Christopher Kelley
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list