I want to learn to use the shell and was wondering why this …
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Esta mensagem é parte da seguinte discussão:
a lista completa das discussões ordenadas por data
Michael Havens em
2003-02-20 20:25
Kevin Buettner em
2003-02-20 20:32
Anexos:
Mensagem como email
(text/plain)
Autor:
Jeremy C. Reed
Data:
2003-02-20 20:28
UTC
Assunto:
I want to learn to use the shell and was wondering why this didn't do as expected
On Thu, 20 Feb 2003, Michael Havens wrote:
> Why did my version (sort mypasswd >mypasswd |cat mypasswd) erase it?
The shell deleted mypasswd (when you did ">mypasswd") before you tried to
sort it.
See Bill Jonas's email for good explanation.
Jeremy C. Reed
http://bsd.reedmedia.net/