[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell script migration from Unix to Linux

From: Henrik Carlqvist
Subject: Re: Shell script migration from Unix to Linux
Date: Sat, 28 Apr 2012 23:33:15 +0200
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

"George Thomas Irimben (georgeti)" <> wrote:
> Is there any Wrapper Shell or other utilities existing in Linux, to help
> script migration from Unix to Linux?

There is no significant difference between "Unix" and Linux distributions,
but there are differences between different shells. But of course
different distributions might have different programs and different paths
to programs. This also holds true for different versions of Unix.
> This unix2linux shell should hide the behavior/output differences and
> make the Unix scripts run seamless on Linux.

Do you have any example of such problematic differences?
> Example:
> #!/bin/csh -f

In most Linux distributsions csh is a symbolic link to tcsh which is
supposed to be enhanced but completely compatible with csh. So what kind
of trouble do you get? What kind of "Unix" does your script come from?

regards Henrik
The address in the header is only to prevent spam. My real address is:
hc351(at) Examples of addresses which go to spammers:
root@localhost postmaster@localhost

reply via email to

[Prev in Thread] Current Thread [Next in Thread]