Re: nano spaties einde regel
On Sat, 23 Jan 2016 16:50:29 +0100
Frans van Berckel <fberckel@xs4all.nl> wrote:
> Loving this ...
>
> # cat cleanup.sh
>
> FILES="*.c
> *.h
> cbios/*.c
> cbios/*.h"
>
> for f in $FILES
> do
> echo "Processing $f"
> sed -i -e 's/[ \t]*$//' $f
> done
Maar pas wel op met die -i, er is geen weg meer terug, je moet heel
zeker weten dat je geen "search and destroy" aan het doen bent.
"There are two types of people: those who have lost data and those who
will"
:-)
--
richard lucassen
http://contact.xaq.nl/
Reply to: