in reply to perl -pi -e s'/^\s+//'g $file
{ local @ARGV = ($file); local $^I = '.bac'; while(<>){ s/^\s+//; print; } } [download]