diff options
Diffstat (limited to 'src/putdos')
| -rw-r--r-- | src/putdos | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/putdos b/src/putdos new file mode 100644 index 0000000..2a8f2cb --- /dev/null +++ b/src/putdos @@ -0,0 +1,18 @@ +#!/bin/sh + +# create temporary command + +FILTER=`sh putdos_helper < putdos.cfg` + +#echo "FILTER=$FILTER" + +echo "#!/bin/sh" > filter.sh +echo "$FILTER" >> filter.sh + +RFN=`echo $1 | sh filter.sh` + +echo "translating $1 to $2/$RFN ..." + +cat $1 | sh filter.sh > $2/$RFN + +rm filter.sh |
