how to test extension of file
From: dada (usenetdada_at_yahoo.com)
Date: 04/18/04
- Next message: Peter J. Acklam: "Re: how to test extension of file"
- Previous message: Carl Lowenstein: "Re: Need to process 3 billion (yes billion!) rows"
- Next in thread: Peter J. Acklam: "Re: how to test extension of file"
- Reply: Peter J. Acklam: "Re: how to test extension of file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 18 Apr 2004 01:33:21 -0700
hi,
i just wanted to know whether the "test" command has
an option for testing the extension of file.
i wanted to know if $x is of the form *.swp
where $x has the filename.
i know there is a way like
for i in *.swp
etc etc
but i want to test only for a particular file
thanks.
- Next message: Peter J. Acklam: "Re: how to test extension of file"
- Previous message: Carl Lowenstein: "Re: Need to process 3 billion (yes billion!) rows"
- Next in thread: Peter J. Acklam: "Re: how to test extension of file"
- Reply: Peter J. Acklam: "Re: how to test extension of file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|