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: Sun, 16 Mar 2008 00:07:08 +0900
- From: Dave Brown <dagbrown@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> <87ejacsh6h.fsf@uwakimon.sk.tsukuba.ac.jp> <ed10ee420803150006t1d44b873gf0620c8c48e1bb90@mail.gmail.com> <873aqss5tm.fsf@uwakimon.sk.tsukuba.ac.jp>
- User-agent: Mutt/1.5.17 (2007-11-01)
On Sat, Mar 15, 2008 at 06:19:01PM +0900, Stephen J. Turnbull wrote: > SL Baur writes: > > > It's defined yes, but what does your system do when you run the script: > > > > #! /bin/sh > > echo foo ^ bar > > chibi:git-staging steve$ echo foo ^ bar > foo ^ bar > chibi:git-staging steve$ > > > The correct answer probably is that you see "bar: not found". Do > > you know why? > > I don't know but will hazard a guess: buggy history expansion. man is > such a wonderful resource. :-) No! S L Baur already explained this, but I will admit that this reminds me of an amusing time when I offered to test out a restricted shell that was hacked together for a programming contest by one of the smartest security brains I know (Ian Goldberg). As a beautiful example of "the smartest fencer can be disarmed by a trick he doesn't know", I blew his cho-ultra-secure shell away by using ^ as a pipe character instead of |. He hadn't read the bash man page carefully enough, and had missed that it supported that particular ancient artifact. Remember history, for if you forget, it will bite you in your arse. --Dave
- Follow-Ups:
- Re: [tlug] Bashing away at Unix
- From: Stephen J. Turnbull
- Re: [tlug] Bashing away at Unix
- From: Josh Glover
- 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: Stephen J. Turnbull
- Re: [tlug] Bashing away at Unix
- From: SL Baur
- Re: [tlug] Bashing away at Unix
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Bashing away at Unix
- Next by Date: Re: [tlug] Bashing away at Unix
- 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