Subj : Re: about to blow a gaske To : Angus Mcleod From : Sniper Date : Sat May 21 2005 01:39 am -=> Angus Mcleod wrote to Sniper <=- AM> Re: Re: about to blow a gaske AM> By: Sniper to Angus Mcleod on Fri May 20 2005 17:24:00 > AM> WTF does 'less > *' do? I'm afraid to even try it! > > I was brave... > > bash: *: ambiguous redirect > > So, its safe. :) AM> Yea -- I built a machine and tried it. I got the same result. The '> AM> *' looks like it should truncate all files. '> filename.ext' truncates AM> the named file, due to a quirk of redirection. I think if '*' were to AM> evaluate to a single filename, that would occur. If you do this: > first.ext second.ext third.ext fourth.ext etcetera.ext AM> then the shell should try to truncate 'first.ext', then execute AM> 'second.ext' with 'third.ext fourth.ext etcetera.ext' as arguments and AM> redirect STDOUT to 'first.ext'. AM> I'm not sure why '*' evaluated to a list of files, doesn't bring about AM> the same result. I had totally forgotten what "> filename" would do... :) Wow! :) I'm getting rusty. Glad it didn't wipe out my system... Damn... I just put up a stupid sign... Ok! :) Sniper Killed In Action BBS, telnet://kiabbs.org Home of the Unofficial SynchroNet Support Network. download the info pack at any of the below sites: http://www.chcomputer.net/USSNET.ZIP or http://www.ussnet.org .... Knocking on wood to preclude a visit by that mysterious being! --- MultiMail/Linux v0.45 þ Synchronet þ Killed In Action - telnet://kiabbs.org .