Slashdot Mirror


User: julian7

julian7's activity in the archive.

Stories
0
Comments
2
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2

  1. Re: (Sorry, a little clarification) on A Real Bourne Shell for Linux? · · Score: 1

    Did you read sh(1) man page? It says that in () everything occurs in a subshell, except exit. BTW I don't say autoconf should be supported on any platform, just autoconf scratches it's head with a keyboard when it itches.

  2. Re: (Sorry, a little clarification) on A Real Bourne Shell for Linux? · · Score: 1

    Maybe the copyright notice bothers the poster. BTW writing portable shell script is a hell if you have only bash. Just look at an output of autoconf and have a laugh over it:

    In bash you cannot do this:

    test -d "$dir" || ( echo "$dir doesn't exists"; exit 1)

    Thus, autoconf creates this kind of exit:

    test -d "$dir" || { { echo "$dir doesn't exists" > }; echo "$dir doesn't exists" > { (exit 1;) exit 1; }; };

    Lovely, eh?