good afternoon all,
hpux 11i
any suggestions greatly appreciated.
what i would like to do is find all of the files in a dir that do not have a match based upon the extenstion.
so for example:
ab00123.a
ab00123.b
is ok
but i need to know when there is an ab00123.a and no ab00123.b or vice versa.
i know that i can split the files into 2 seperate files -
but don't know how to best compare the 2 files based on the extension or even if this is the best way to approach.
any ideas?
regards,
longhair
hpux 11i
any suggestions greatly appreciated.
what i would like to do is find all of the files in a dir that do not have a match based upon the extenstion.
so for example:
ab00123.a
ab00123.b
is ok
but i need to know when there is an ab00123.a and no ab00123.b or vice versa.
i know that i can split the files into 2 seperate files -
Code:
find . -type f -name *.a > file1
find . -type f -name *.b > file2
any ideas?
regards,
longhair