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
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
2 matches
Mail list logo