The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Stripping out extension in file name devs Shell Programming and Scripting 9 05-14-2008 01:53 AM
How to get file extension shirleyeow Shell Programming and Scripting 17 01-17-2008 05:40 AM
trim file tungaw2004 UNIX for Dummies Questions & Answers 1 09-15-2007 03:05 AM
Stripping out the extension of a file name ramky79 Shell Programming and Scripting 4 12-28-2006 07:15 PM
Trim trailing spaces from each line in a file tipsy Shell Programming and Scripting 5 09-13-2006 02:48 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-31-2007
Registered User
 

Join Date: May 2007
Posts: 23
trim file name extension????

Dear Chaps,

What will I do if, I am not sure about the length of the file name, but only one thing that I want to remove only the last extension.
e.g. abcdXXXXXX.pqrXXXXX.asc (X is any character)
I want to trim only .asc (or,watever) so that resultant file name would be like abcdXXXXXX.pqrXXXXX
Any idea?

Cheers,
Vishal
Forum Sponsor
  #2  
Old 07-31-2007
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,610
Duplicate post,

http://www.unix.com/unix-for-dummies...#post302129510

Moderators please
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0