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
This message is part of the following thread:
the complete thread tree sorted by date
Michael Havens at
2003-02-20 20:25
Kevin Buettner at
2003-02-20 20:32
Attachments:
Message as email
(text/plain)
Author:
Jeremy C. Reed
Date:
2003-02-20 20:28
UTC
Subject:
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/