* macro.6.sh - execute selected block * macro.7.sh - delete trailing whitespaces Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
@@ -5,7 +5,9 @@ macro_DATA = \
macro.1.sh \
macro.3.sh \
macro.4.sh \
- macro.5.sh
+ macro.5.sh \
+ macro.6.sh \
+ macro.7.sh
EXTRA_DIST = \
$(macro_DATA)
@@ -0,0 +1,4 @@
+e execute something
+ TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1
+ cat %b > $TMPFILE
+ sh $TMPFILE > %b
+w delete trailing whitespace
+ cat $TMPFILE | sed 's/[ \t]*$//' > %b