This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C2D91E.D1078072 Content-Type: text/plain; charset="iso-8859-1" Due to order of operation in the shell the ">" is interpreted first and deletes the contents of the file mypasswd before you get to the cat operation. This tries to explain it: http://infocom.cqu.edu.au/Units/aut99/85321/Resources/Print_Resources/Textbook/chap6/ I am sure Google would have something that explains it better. JLF Sends... -- Jean L. Francois - Linux Architect Ciber, Inc. FSIC - Ford Systems Integration Center Office - 313-317-4378 ( Temporary ) Home - 586-293-9081 ( Until April ) Cell - 602-770-5531 -----Original Message----- From: Michael Havens [mailto:bmike1@vei.net] Sent: Thursday, February 20, 2003 3:25 PM To: plug-discuss@lists.plug.phoenix.az.us Subject: Re: I want to learn to use the shell and was wondering why this didn't do as expected On Thursday 20 February 2003 01:07 pm, Eric Andresen wrote: > Try: cat mypasswd |sort Why did my version (sort mypasswd >mypasswd |cat mypasswd) erase it? -- :-)~Mike~(-: --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss ------_=_NextPart_000_01C2D91E.D1078072 Content-Type: application/octet-stream; name="Francois, Jean (J.L.).vcf" Content-Disposition: attachment; filename="Francois, Jean (J.L.).vcf" BEGIN:VCARD VERSION:2.1 N:Francois;Jean FN:Francois, Jean (J.L.) ORG:IT - Information Technology;J1514 - IT-Development TITLE:Linux Architect NOTE: TEL;WORK;VOICE:1111111 TEL;WORK;VOICE:1-602-7705531 TEL;HOME;VOICE: TEL;CELL;VOICE: TEL;PAGER;VOICE:1-602-7705531 TEL;HOME: ADR;WORK:;FSIC - FORD SYSTEMS INTEGRATION CTR;Video Conference ;ALLEN PARK ;MI ;48101-3614 ;USA LABEL;WORK;ENCODING=QUOTED-PRINTABLE:FSIC - FORD SYSTEMS INTEGRATION CTR=0D=0AVideo Conference =0D=0AALLEN PARK ,= MI 48101-3614 =0D=0AUSA EMAIL;PREF;INTERNET:jfranc46@ford.com REV:20030211T183843Z END:VCARD ------_=_NextPart_000_01C2D91E.D1078072--