* ultrix 4.2 MAKEDEV expr regex seems wrong ?
@ 1992-09-13 5:43 George Planansky
0 siblings, 0 replies; only message in thread
From: George Planansky @ 1992-09-13 5:43 UTC (permalink / raw)
An Ultrix 4.2 (DEC 5000/200) /dev/MAKEDEV has an
expr regex with a leading "," (comma), which makes no
sense to me:
for fullname
do
tryname=`expr $fullname : ',*\(.[a-zA-Z]*\)'`
tryunit=`expr $fullname : '[^0-9]*\([0-9]*\)'`
trypart=`expr $fullname : '[^0-9]*[0-9]*\(.*\)'`
if test $silent -eq 0 ; then
echo "MAKEDEV: special file(s) for "$fullname": "
fi
Is this a typo lurking in the distributed MAKEDEV?
--
George Planansky
Department of Biological Chemistry & Molecular Pharmacology
Harvard University Medical School, 240 Longwood Ave., Boston, MA 02115
email: gplanansky@tusk.med.harvard.edu
phone: (617) 432-3919
fax: (617) 432-4360
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1992-09-13 5:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-09-13 5:43 ultrix 4.2 MAKEDEV expr regex seems wrong ? George Planansky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox