[net.bugs.4bsd] Bug in ADB

dan@rna.UUCP (01/30/84)

Subject:
	Arguments after the first supplied to the :r command of ADB
	get the first character lopped off.
Index:	bin/adb/runpcs.c (maybe) 4.2BSD

Description:
	When giving more than one argument to the :r command of ADB
	the first character of each subsequent argument is dropped.
Repeat-By:
	adb /bin/echo
	:r hello this example
	/bin/echo: running
	hello his xample
	process terminated
Fix:
	Haven't had time to wade to ADB's Bourne/A68'isms. Presumably
	in runpcs.c the first character gets throw away while looking
	for io redirections.
	For now, of course, supply a extra first character to be thrown
	away.

					Cheers,
					Dan Ts'o
					...cmcl2!rna!dan

henry@utzoo.UUCP (Henry Spencer) (02/01/84)

The business of adb swallowing the first character of $2 etc. in a
:r command must be a Berkeley "feature".  V7 adb doesn't do it.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry