On 26 Jun 2002 08:42:53 -0500, FVWM CVS wrote: > > Log message: > * tabify only the leading spaces, untabify the middle of line
I used these 2 commands: # untabify all first % perl -pi -e 'while (s/\t+/" " x (length($&)*8 - length($`)%8)/e) {}' `find . -name '*.[ch]'` # tabify only leading spaces % perl -pi -e 'while (s#^ {8,}#("\t" x (length($&)/8)) . (" " x (length($&)%8))#e) {}' `find . -name '*.[ch]'` As usual doing such automatical replacement may cause some problems, but at least the code now should be more correct than before this commit. Regards, Mikhael. -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]