Jari Aalto <[EMAIL PROTECTED]> writes:
> SUGGESTION
>
> The following script will help cleaning EOL whitespaces
>
> for f in $(find -type f ! -path "*.svn*" -a ! -path "*.git*" xargs grep -lE 
> '[[:space:]]$')
> do
>     perl -i.bak -pe 's/[ \t]+$//' "$f" && rm -f *.bak
> done

Small correction: add "|" before xargs call.

Jari




-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to