On Monday 21 July 2008, Anthony Parks wrote:
> ok so i at least got somewhere. i found out how to operate on a directory,
> but first im trying to strip all the whitespace and trailing backslash so i
> can i have a neat and tidy name to feed into the output argument of k9copy.
> pasted here:
> http://pastebin.com/d4932b197

   For stripping characters, one method is to use the 'tr' command.

   And overall, the best guide for writing Bash scripts that I know of is "The 
Advanced Bash Scripting Guide", which you can find either online or in 
the 'abs-guide' package if you run a Debian-like system.

   -- Chris

-- 

Chris Knadle
[EMAIL PROTECTED]

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
        
  Jun 4 - Sqeak! and eToys
  Jul 2 - KVM (Tenative)
  Aug 6 - Zenos
  Sep 3 - TBD

Reply via email to