Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Bashing away at Unix
- Date: Fri, 14 Mar 2008 08:57:41 -0400
- From: Scott Robbins <scottro@example.com>
- Subject: Re: [tlug] Bashing away at Unix
- References: <47D7A519.70409@imaginatorium.org> <20080312101925.5b996fe6.gstewart@bonivet.net> <ed10ee420803140059s7f2c8398p9f06ae4c173f6f69@mail.gmail.com> <78d7dd350803140132x36ca0133m915dd9dee59b24b7@mail.gmail.com> <87y78lskxz.fsf@uwakimon.sk.tsukuba.ac.jp> <78d7dd350803140257t3a3fdbbat913b079a795a425a@mail.gmail.com> <ed10ee420803140322t5a6aeb95tcdece78abbc6dd62@mail.gmail.com> <d8fcc0800803140409j7f824076v2a5f47c5ad4e7ede@mail.gmail.com>
- User-agent: mutt-ng/devel-r804 (FreeBSD)
On Fri, Mar 14, 2008 at 08:09:58PM +0900, Josh wrote: > On 14/03/2008, SL Baur <steve@example.com> wrote: > > > Yes. When zsh is invoked as sh, it turns off *all* zsh extensions and > > behaves as a conformant POSIX shell. > > I don't believe in using bash-isms in my shell scripts, which is why I write: > > #!/bin/sh > > and not > > #!/bin/bash Unfortunately, despite the claims of the man page, it's still often not POSIX compliant. There's dash, which comes closer. > I came around to this way of thinking after having to admin SunOS 2.5, > Solaris 7, 8, and 9, RHEL3, Fedora Core Whatever, Gentoo, and even > ancient SCO UNIXware boxen all at the same time. Write once, run > anywhere was useful. :) Yup. Annoying to realize that $UID is a bashism, and having a senior moment, and forgetting the id command. zsh is nice though. However, I find that on Linux it sometimes behaves strangely. I prefer it on FreeBSD. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Oz: Looks dead, smells dead, yet it's moving around. That's interesting.
- Follow-Ups:
- Re: [tlug] Bashing away at Unix
- From: Dave Brown
- References:
- [tlug] Bashing away at Unix
- From: Brian Chandler
- Re: [tlug] Bashing away at Unix
- From: Godwin Stewart
- Re: [tlug] Bashing away at Unix
- From: SL Baur
- Re: [tlug] Bashing away at Unix
- From: Nguyen Vu Hung
- Re: [tlug] Bashing away at Unix
- From: Stephen J. Turnbull
- Re: [tlug] Bashing away at Unix
- From: Nguyen Vu Hung
- Re: [tlug] Bashing away at Unix
- From: SL Baur
- Re: [tlug] Bashing away at Unix
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: [tlug] Re: Gentoo ebuild for XEmacs-21.5
- Next by Date: [tlug] Split up ec2?
- Previous by thread: Re: [tlug] Bashing away at Unix
- Next by thread: Re: [tlug] Bashing away at Unix
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links