Wierd shell bug could be useful
    Jeff Beadles 
    jeff at onion.rain.com
       
    Sat Feb  2 13:31:13 AEST 1991
    
    
  
In article <618 at tndsyd.oz> root at tndsyd.oz (the main man) writes:
>Try this out:
>	$ echo > foo '
>	> garbage
>	> '
>	$
This is not a bug!  I often write scripts with something like this:
$ < file program > file2
The shell will allow redirection operators ('<' and '>') most anywhere.
It's not a bug, it's a FEATURE! :-)
	-Jeff
-- 
Jeff Beadles		jeff at onion.rain.com
    
    
More information about the Comp.unix.shell
mailing list