> Okay, it's a silly question - how can I extract the suffix from > a file name (I know I can use "basename" and "dirname" to get > the file and directory components)? $filename =~ /[.]([^.])$/; $ext = $1; -- jonadab -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
- How to extract suffix from a filename? malcolm.boekhoff
- Re: How to extract suffix from a filename? Michael A. Chase
- Re: How to extract suffix from a filename? Ehud Karni
- Re: How to extract suffix from a filename? Randall R Schulz
- RE: How to extract suffix from a filename? Glen Coakley
- RE: How to extract suffix from a filena... Randall R Schulz
- Jonadab the Unsightly One
