Subject: Re: pkgsrc and jot(1) To: None <tech-pkg@netbsd.org> From: John Refling <johnr@imageworks.com> List: tech-pkg Date: 04/05/2002 12:26:48
to avoid listing all, can try:
#!/bin/sh
for i in `echo [0-9] [0-9][0-9] [0-9][0-9][0-9] | sort -n`; do
echo $i
done
pretty sure the "| sort -n" is not needed, but check that
result of "echo" is in numerical order.