jestrada101
Technical User
- Mar 28, 2003
- 332
Hello...
I have the following, which searches within a list a files for anything that starts with 2003 using the cut command.
I'd like for this to give me only the file names that return values that begin with 2003.
Thanks for any recommendations...
for i in BT*
do
echo "${i}"
cut -b76-89 "${i}" | grep ^2003
done
I have the following, which searches within a list a files for anything that starts with 2003 using the cut command.
I'd like for this to give me only the file names that return values that begin with 2003.
Thanks for any recommendations...
for i in BT*
do
echo "${i}"
cut -b76-89 "${i}" | grep ^2003
done