Use cut and/or gawk
----- Original Message ----- From: "BEN RITCHEY" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 14, 2002 2:56 AM Subject: FSpecs > Originally to: ALL > > Would it be possible in a Bash script to munge a Long File Name to the older > DOS 8.3 format? > > In my case I need the first 8 characters and the last 4 (.xxx) ... the > resulting string would then be used as an argument for another command. :) > > -- > Keep the faith, > > : Ben http://bellsouthpwp.net/c/m/cmech617 ICQ #32457590 > : > + WildCat! Board 24/7 (337) 232-4155 33.6kBps 8,N,1 Files! > > - > To unsubscribe from this list: send the line "unsubscribe linux-newbie" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.linux-learn.org/faqs - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs