Unadvertised sh(1) feature?

utzoo!decvax!genrad!linus!allegra!eagle!mhtsa!alice!npoiv!houxm!houxk!houxj!wapd utzoo!decvax!genrad!linus!allegra!eagle!mhtsa!alice!npoiv!houxm!houxk!houxj!wapd
Wed May 11 17:08:33 AEST 1983


Relay-Version:version B 3/9/83; site alice.UUCP
Message-ID:<249 at houxj.UUCP>
Date:Wed, 11-May-83 17:08:33 EDT


	There is at least one other unadvertised feature in the
Bourne shell, although a lot of people probably know about this
one.  I have been bugging the USG people to document this for about
two years now.

	The character '^' (the caret) is equivalent to '|' (the or-bar).
It can be used to make pipes.  A lot of people find this one by
trying to do something like

		grep ^abc file

and having the shell say

		abc: not found

					Bill Dietrich
					houxj!wapd



More information about the Comp.unix.wizards mailing list