Subject: Re: MAKEDEV prob
To: Lennart Augustsson <>
From: Steven M. Bellovin <>
List: current-users
Date: 05/07/2003 10:33:34
In message <>, Lennart Augustsso
n writes:
>> who cares?  just remove all the leading zeroes, and add this:
>>         j=$(echo 0$j | sed 's/.\(..\)/\1/')
>Is sed always available when you want to run MAKEDEV?
>	-- Lennart
expr is in /bin, and the following works:

	j=`expr $j : '.*\(..\)$'`

But I haven't checked if expr (or, for that matter, sed) are on the 
install disks.

		--Steve Bellovin, (me) (2nd edition of "Firewalls" book)