Date: Thu, 20 Feb 2003 15:14:22 -0600 From: "Brian Henning" <b1henning@hotmail.com> To: "freebsd" <freebsd-questions@FreeBSD.ORG> Subject: OT: shell script problem Message-ID: <OE658u16sa5LMgvR6bi000137c6@hotmail.com>
next in thread | raw e-mail | index | archive | help
i have this script with one input file and i keep getting the error: /files_???/19980527/???????/<server>myname # sh doc_id.sh input.txt /files_???/19980527/???????/: No such file or directory /files_???/19980527/???????/ sh doc_id.sh ------------- #! /bin/sh -x INPUT=$1 for i in `cat $INPUT`; do echo "ls -1 ${i}" RES=`ls -1 ${i}` done exit 0; input.txt -------- /files_???/19980527/???????/ but when i run the command ls /files_???/19980527/???????/ the files are found... any suggestions? brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE658u16sa5LMgvR6bi000137c6>