Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B UNSW 1.0 3/14/84; site physiol.oz Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!mulga!munnari!basser!physiol!daved From: daved@physiol.oz (A/Prof. David F. Davey) Newsgroups: net.unix-wizards Subject: Re: sort problems Message-ID: <124@physiol.oz> Date: Wed, 23-Jan-85 19:56:42 EST Article-I.D.: physiol.124 Posted: Wed Jan 23 19:56:42 1985 Date-Received: Wed, 30-Jan-85 04:45:41 EST References: <2040@pegasus.UUCP> Organization: Physiology, Uni of Sydney, Australia Lines: 27 Okay you sort experts why do these two sorts not work ? sort << ! Abe Aba ! You must say skip leading blanks on the first column (+0 to right) sort +0b << Abe Aba ! sort << ! Abe $Aba ! The shell variable $Aba is most likely undefined. "set -x" before the sort of the here document would show a blank line input in this case. You can also see what is happening with: Aba="Aba from shell variable" sort << ! Abe $Aba !