Re: [ILUG] bash script Q

2002-04-05 Thread Waider
According to Justin MacCarthy: > Hi, > anyone point me to the best bash script option for checking the first 2 > characters of all the files in a directory? > > logic of the script is > > for each file in directory > test if the first 2 chars are "%!" > print Filename

bash script Q

2002-04-05 Thread Justin MacCarthy
Hi, anyone point me to the best bash script option for checking the first 2 characters of all the files in a directory? logic of the script is for each file in directory test if the first 2 chars are "%!" print Filename valid if not print