🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #643

$10, 10> and >&10

#643
From: Maarten Litmaath
Date: Wed, 27 Sep 1989 21:40
22 lines
920 bytes
In the classic Bourne shell we get:

	$ exec 10> aap
	10: not found
	$ cat aap
	cat: input aap is output
	$ exec > /dev/tty
	$ cat aap >&10
	10: bad file number
	$ set a b c d e f g h i j k
	$ echo $#
	11
	$ echo $10
	a0
	$ 

I expect bash to have these fixed.
I.e. don't look for a DIGIT, but a NUMBER.
The days of less than 10 file descriptors are long over.
-- 
 `I AM NEW HEAR AMD I WANT TO INKRIMENT A |Maarten Litmaath @ VU Amsterdam:
 VURIABLE BY 1 (OONE) IN "c"'  (Tom Neff) |maart@cs.vu.nl, mcvax!botter!maart
Technical Details
Message-ID: <3403@solo12.cs.vu.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!gem.mps.ohio-state.edu!ginosko!uunet!mcsun!hp4nl!star.cs.vu.nl!maart

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!gem.mps.ohio-state.edu!ginosko!uunet!mcsun!hp4nl!star.cs.vu.nl!maart
From: maart@cs.vu.nl (Maarten Litmaath)
Newsgroups: gnu.bash.bug
Subject: $10, 10> and >&10
Message-ID: <3403@solo12.cs.vu.nl>
Date: 27 Sep 89 21:40:13 GMT
Distribution: gnu
Organization: V.U. Informatica, Amsterdam, the Netherlands
Lines: 22