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

Re: script writen is ash ?? covert ?



On 06Sep2006 14:36, Gregory Machin <gregory machin gmail com> wrote:
| I have a script writen for ash and want to convert it to bash ...
| any hints on doing thins ?

Since ash is meant to be a Bourne shell, change the #! line to be
"#!/bin/sh". Mission accomplished. Then forget about bash - why would
you need to make the script _less_ portable?

Cheers,
-- 
Cameron Simpson <cs zip com au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Windows crashes:
===============
Cath   "Do the blue screens count?"
Jimbo  "According to the microsoft conference, they are not crashes, they are
        corrections"
John   "This was surely a joke as, at the time, the stock market crash during
        the week in question was being referred to as a 'correction' and not
        a crash"
Scott  "Yes, Windows is a joke"


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