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] The Mother of All (bash) Commands
- Date: Wed, 19 Mar 2008 17:15:18 +0900
- From: Dave Brown <dagbrown@example.com>
- Subject: Re: [tlug] The Mother of All (bash) Commands
- References: <op.t756gdbtp3esx5@mail.gol.com> <200803180822.19747.daniel.ramaley@drake.edu> <20080318155544.79e7efac.attila@kinali.ch> <200803181314.01992.daniel.ramaley@drake.edu> <78d7dd350803181916w70c71d9bp52c0505584bf829f@mail.gmail.com> <d8fcc0800803181938s73c902d8s6b650c511e59d41b@mail.gmail.com> <78d7dd350803190003u3d170808x63042c4980a5f6bf@mail.gmail.com> <ed10ee420803190010j4291b475x5f700dc213c0975d@mail.gmail.com>
- User-agent: Mutt/1.5.17 (2007-11-01)
On Tue, Mar 18, 2008 at 11:10:28PM -0800, SL Baur wrote: > On 3/18/08, Nguyen Vu Hung <vuhung16plus+shape@example.com> wrote: > > Btw, in coreutils, true --help and true --version do show somethings. > > Yes, that was my point and it is ludicrous, but whatever. > > > Btw, what is the proper way to zero a file? > > > > true > file or > > echo "" > file or > > cat /dev/null > file > > A simple `> file' will suffice. Except in zsh(6), where it runs $NULLCMD and sends the ouput of that to the file. And NULLCMD defaults to the hair-tearing cat(1), rather than to (as one might expect), : . --Dave
- References:
- [tlug] The Mother of All (bash) Commands
- From: Greg Thomson
- Re: [tlug] The Mother of All (bash) Commands
- From: Daniel A. Ramaley
- Re: [tlug] The Mother of All (bash) Commands
- From: Attila Kinali
- Re: [tlug] The Mother of All (bash) Commands
- From: Daniel A. Ramaley
- Re: [tlug] The Mother of All (bash) Commands
- From: Nguyen Vu Hung
- Re: [tlug] The Mother of All (bash) Commands
- From: Josh Glover
- Re: [tlug] The Mother of All (bash) Commands
- From: Nguyen Vu Hung
- Re: [tlug] The Mother of All (bash) Commands
- From: SL Baur
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] The Mother of All (bash) Commands
- Next by Date: Re: [tlug] Who is www-data, and why do they want my CPU?
- Previous by thread: Re: [tlug] The Mother of All (bash) Commands
- Next by thread: Re: [tlug] The Mother of All (bash) Commands
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links