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

Re: ash or bash not good /bin/sh replacements?



In article <19980528121257.A3590@molec3.dfis.ull.es> you wrote:
> Is it a bug in ash or in bash?

Neither.  POSIX doesn't say that the dot command can take on any arguments.  So
the correct thing to do is to set $1 $2 etc. with set before you use the dot
command.  I've tested it and it works with both ash and bash.

-- 
Debian GNU/Linux 1.3 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: