[wplug] Checking the extension of a file in a shell script

O'Connor, Michael P. mpoconnor at switch.com
Fri May 12 15:53:17 EDT 2006


Does any one know how to check for a final character on a string (lets
call it $file) I want to look to see if the last 2 chars are ".C" this
is csh,

 

Michael P. O'Connor

US&S 

Office: 412-688-2491 

Cell: 412-498-0667

mpoconnor at switch.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.wplug.org/pipermail/wplug/attachments/20060512/bb395261/attachment.html


More information about the wplug mailing list