src/Doc/fixbookmarks
author wenzelm
Thu, 16 Jan 2020 15:34:55 +0100
changeset 71387 b3b992f6ad8f
parent 53498 05313b45a5ae
permissions -rwxr-xr-x
updated to stack-2.1.3, stackage lts-13.19, ghc-8.6.4;
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;' "$@"