No subject


Tue Jun 4 12:17:20 MDT 2013


for i in $(ls whateverpatternmatchesyourfiles); do
  expand $i > $i.new
  mv $i $i.save
  mv $i.new $i
done

Then examine the files to see if they meet your criteria and rm the *.save
files if you wish.

Chip

> -----Original Message-----
> From: Tom Tromey [mailto:tromey at redhat.com]
> Sent: Friday, April 06, 2001 10:42 AM
> To: lug at lug.boulder.co.us
> Subject: Re: [lug] xemacs and indent-tabs-mode
> 
> 
> >>>>> "Ed" == Ed Young <ejy at techangle.com> writes:
> 
> Ed> Is there a dired command that will allow me to run something like
> Ed> M-x untabify on all the tagged files in a dired buffer?
> 
> For tasks like that I use a keyboard macro.
> I set it up to find the next file in dired, open it, run the commands
> I want, save the file, and then bury the buffer.
> Then I use `C-u C-u C-u C-x e' to run the macro a bunch of times.
> 
> Maybe there is some other way to do it.  I don't really use dired
> frequently.
> 
> Tom
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 



More information about the LUG mailing list