Changing a 1 line zsh script to sh,perl,csh or tcsh etc.

Changing a 1 line zsh script to sh,perl,csh or tcsh etc.

Post by Jonathan Lieberm » Mon, 09 Nov 1992 11:01:33



How would I write this in sh, or perl, or csh, or tcsh?

#!/bin/zsh
ARGV0='-tcsh                                    .' $1 $2 $3 $4

Thanks.

--
____________________________________________________________________________
                            | People demand freedom of speech to make up
Jonathan Lieberman          | for the freedom of thought which they avoid.

 
 
 

Changing a 1 line zsh script to sh,perl,csh or tcsh etc.

Post by Tom Christianse » Tue, 10 Nov 1992 23:46:05



:How would I write this in sh, or perl, or csh, or tcsh?
:
:#!/bin/zsh
:ARGV0='-tcsh                                    .' $1 $2 $3 $4

If I understand what you're doing (changing what ps sees):

    #!/usr/bin/perl

--tom
--

    "* Unix is a footnote of AT&T Bell Laboratories."
                             --Barry Shein