🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #349

Re: Wierd shell bug could be useful

#349
From: Jeff Beadles
Date: Sat, 02 Feb 1991 02:31
19 lines
822 bytes
In article <618@tndsyd.oz> root@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@onion.rain.com
Technical Details
Message-ID: <1991Feb2.023113.24060@onion.rain.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!milton!ogicse!pdxgate!parsely!percy!qiclab!onion!jeff
References: <618@tndsyd.oz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!milton!ogicse!pdxgate!parsely!percy!qiclab!onion!jeff
From: jeff@onion.rain.com (Jeff Beadles)
Newsgroups: comp.bugs.sys5,comp.unix.shell
Subject: Re: Wierd shell bug could be useful
Message-ID: <1991Feb2.023113.24060@onion.rain.com>
Date: 2 Feb 91 02:31:13 GMT
References: <618@tndsyd.oz>
Lines: 19