Samuel Martín Moro wrote:
for name in "${path}/${group}"*
do
path=/dev
group=ttypqfr
for name in "${path}/${group}"*
do
   test "$name" = "${path}/${group}*" && continue
   [ -z "${found_list}" ] && found_list="${name}" ||
found_list="${found_list} ${name}"
done
echo "found list: $found_list"

Thank You Samuel.
Using the 'test' command solved my problem.

I had not known about the 'test' command.
You have taught me something new.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to