20 Oct
2003
20 Oct
'03
16:02
Hello, On Mon, 20 Oct 2003, Michael Matz wrote:
On Mon, 20 Oct 2003, Michael Matz wrote:
As-if rule angewandt, und schon ist es dasselbe, nur das die Zuweisung eine lustige Syntax hat ;-)
Grmbl. Zu frueh abgeschickt. Ich wollte noch addieren: ... nur das der initiale Poster ja nicht nur nach 0/1 gefragt hat, sondern nach beliebigen Exitcodes, und da scheint mir "( exit x )" ganz ok zu sein.
set_status() { return $1; } $ set_status 42; echo $? 42 Das ist IMO eleganter als die sub-shell via (). -dnh --
You can probably make sendmail play chess if you configure it right. Judging by its conf file it already does. Checkmate in 3 moves. -- Anthony Mandic in comp.sys.sun.admin