The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 01-23-2008
qneill qneill is offline
Registered User
 

Join Date: Jan 2008
Posts: 7
I don't understand your question

Are you copying a file named "XXXX1234.ABCDEF" to "XXX1234"? (#1)

Or are you transforming one file to another and transforming the contents from "XXXX1234.ABCDEF" to "XXX1234"? (#2)

And did you mean to have 4 X's in the first and 3 in the second?

If #2 above, must you use korn/awk? Any of python/ruby/perl/sed would do the job as well.
--
Qman
Reply With Quote