Script

From: Subrata Mondal (smondal@ASSYST.NET)
Date: Thu May 22 2003 - 15:18:10 EDT


I have to check for a file namely e1.txt and it may come in any flavor -
how do we handle this?

1. e1.txt
2. E1.txt
3. e1.TXT
4. e1.Txt
5. E1.TXT

and so on -
Right now I am using the pipe command to find out the file name -
like grep -E "e1.txt | E1.txt | ..........." >file_name

is there a simpler way ?

Subrata



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:51 EDT