Need to be able to determine whether or not a specific file exists in a specific directory. Situation is this: if the file has already been compressed (e.g., a .Z file) then I need to use zcat ... but if it hasn't been compressed, I'll need to use cat.
Isn't there a Unix command that returns a value indicating the existence of the file?
Tnx as always in advance.
"My mind is like a steel whatchamacallit ...
Isn't there a Unix command that returns a value indicating the existence of the file?
Tnx as always in advance.
"My mind is like a steel whatchamacallit ...