src/Doc/fixbookmarks
author wenzelm
Mon, 07 Oct 2013 21:24:44 +0200
changeset 54313 da2e6282a4f5
parent 53498 05313b45a5ae
permissions -rwxr-xr-x
native executable even for Linux, to avoid surprises with file managers opening executable script as text file;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
53498
05313b45a5ae more portable hash-bang;
wenzelm
parents: 48985
diff changeset
     1
#!/usr/bin/env bash
6609
28726a610a17 pdf setup;
wenzelm
parents:
diff changeset
     2
48940
f0d87c6b7a2e more portable perl invocation;
wenzelm
parents: 48938
diff changeset
     3
perl -pi -e 's/\\([a-zA-Z]+)\s*/$1/g; s/\$//g; s/^BOOKMARK/\\BOOKMARK/g;' "$@"