[linux-l] shellscript howto?
Thomas Knop
tknop at maxrelax.de
Fr Sep 27 16:53:22 CEST 2002
* Tobias Schlottke <toby at cpth.de> [27.09.02 14:33]:
> On Fri, 27 Sep 2002, Kendy Kutzner wrote:
> >
> > $ ll /usr/bin/[
> > lrwxrwxrwx 1 root root 4 Jul 2 13:00 /usr/bin/[ -> test
>
> grün.
> >
> > .. aber das gilt wohl wiedermal nur fuer Linux.
> > unter FreeBSD:
> >
> > $ ll /bin/test /bin/[
> > -r-xr-xr-x 2 root wheel 77576 Sep 5 13:02 /bin/[*
> > -r-xr-xr-x 2 root wheel 77576 Sep 5 13:02 /bin/test*
>
> auch grün. Ob sym oder hard is doch Wurst.
>
>
> > und unter Solaris ist [ ein bash-builtin.
> auch ok.
Eine bash gibts unter Solaris erst ab Version 8.
Unter HP-UX gibts die gar nicht.
> Also ich seh/kenn kein Problem mit [
Ich schrieb was von "portabel" und genau da sehe ich ein Problem.
Wenn man natürlich immer nur Linux braucht und bash verwendet ...
kein Problem :-)
Gruss Thomas.
Mehr Informationen über die Mailingliste linux-l