File: removeMolTimestamp

package info (click to toggle)
chemical-structures 2.2.dfsg.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,808 kB
  • sloc: xml: 7,224; javascript: 1,194; python: 993; sh: 51; makefile: 42
file content (10 lines) | stat: -rw-r--r-- 215 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
## shell script to remove time stamps generated by Babel

echo -n "Removing timestamps from .mol files."

for f in $(find "$1" -name "*.mol"); do
    sed -i 's/Babel.*/Babel/' $f
    echo -n "."
done
echo "[Done]"