5

Shell script question : List any file ending with .in and corresponding .out

view full story
linux-howto

http://unix.stackexchange.com – I have a directory full of files ending with different extensions, how would I list/select only the files ending with .in and corresponding .out that share the same basename? e.g. file1.txt file1.in file2.in file3.in file2.out file3.out What I want to select from these files are: file2.in file2.out file3.in file3.out (HowTos)