Source

SCons-custom-sig / mydev / myscript.sh

1
2
3
4
5
6
#!/bin/bash

NOW=`date --rfc-3339=ns`
awk "/^[^#]/{print}; /^#/{print \"#A line I don't care about -- $NOW\"}" $1 > tmp.txt
mv tmp.txt $1
echo "Last changed: $NOW" > $2