Re: Shell Games

From: Tom Huppi (thuppi_at_huppi.com)
Date: 12/31/04

  • Next message: James Jhai: "Re: Dial-up connection problem"
    Date: Fri, 31 Dec 2004 00:30:16 -0500 (EST)
    To: freebsd-newbies@freebsd.org
    
    

    On Fri, 31 Dec 2004, Nicolas Mackintosh wrote:

    <snip>

    > I've always looked at the shell as a very personal thing. Some will
    > prefer Bash, others will want to play with something completely
    > different. It's a bit like having a favorite hammer... Only a lot more
    > elegant!

    Heh...you have not seen my work then :)

    My two cents, though: I started out in a multi-platform
    environment and thus choose Bourne Shell for scripting (and still
    had to learn the sed, awk, etc differences since most shells are
    pretty useless alone.) As time goes by, I suspect it's less of an
    issue even for the few folks who find themselves in such a
    position. I will mention, though, that knowing Bourne Shell and
    portability issues can come in handy for working with autoconf,
    and that is likely a more common demand these days.

    FWIW, I've always used 'tcsh' interactively, but almost switched a
    while back out of disgust at not being able to figure out how to
    get a one-line foreach/{do_something}/end loop (which would allow
    me to re-run a complex command easily.)

    Thanks,

     - Tom

    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: James Jhai: "Re: Dial-up connection problem"

    Relevant Pages

    • Re: Shell Games
      ... >> I've always looked at the shell as a very personal thing. ... >> prefer Bash, others will want to play with something completely ... > environment and thus choose Bourne Shell for scripting (and still ...
      (freebsd-newbies)
    • Re: Bash: fast way to repeat string???
      ... use at least 3 processes if you are using bash, one to do the echo, one ... Bourne shell on most Unices for a very long time (over 2 ... language without worrying about what the interpreter would be as ... /bin/sh and the standard sh must be found elsewhere. ...
      (comp.unix.shell)
    • Re: Array elements in a shell script
      ... On Solaris, ... Bourne shell because changing it might mess up compatibility ... started off as Bourne-like but is in the process of having POSIX ... On OS X, /bin/sh is bash, but so is ...
      (comp.unix.programmer)
    • Re: snippet of configure script - explain please
      ... Bourne shell. ... but is it stated anywhere that this shorthand is ... bash happen to have been programmed? ... variable' this part of the script has set (the assignment to ac_var ...
      (freebsd-questions)
    • Re: csh question: foreach
      ... That some platforms chose to call bash ... FreeBSD, cygwin) but Solaris, the /bin/sh was not a Bourne shell ... just that getconf PATH should return a PATH ...
      (comp.unix.solaris)