[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: ash: "source <nonexistent file>" makes ash exit?
From: Bastian Bittorf <bittorf () bluebottle ! com>
Date: 2013-03-20 13:15:59
Message-ID: 20130320131559.GK327 () medion ! lan
[Download RAW message or body]
* Bernd Petrovitsch <bernd@petrovitsch.priv.at> [20.03.2013 14:06]:
> ACK - and for that reason, I didn't mention it. Or - to avoid the
> fork()+exec() - play around with "s=0; while read l; do s="$s $l"; done
> < $file && eval $s" (which propably needs quoting ...) or the like ....
8-)
i really like the
command . "$file" || errorhandler
which seems portable enough to be used in all my scripts.
bye, bastian
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic