mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 02:43:40 +00:00
Estimated hours taken: 1 Replace occurrences of "INSA" by "INSA de Rennes" since Morphine is an "INSA de Rennes" software, not an "INSA" one. *: */*: /s/INSA/INSA de Rennes/ scripts/exec_mercury_program: Remove some useless I/O wrapping of Mercury execution runs. source/collect.op: Improve a litte bit the documentation of collect/2.
44 lines
352 B
Bash
Executable File
44 lines
352 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright (C) 1999 INRIA/INSA de Rennes.
|
|
# Fix the manual file
|
|
|
|
ex $1 <<\EOF
|
|
%s/_/\\_/g
|
|
w
|
|
q
|
|
EOF
|
|
ex $1 <<\EOF
|
|
%s/</$<$/g
|
|
w
|
|
q
|
|
EOF
|
|
ex $1 <<\EOF
|
|
%s/>/$>$/g
|
|
w
|
|
q
|
|
EOF
|
|
ex $1 <<\EOF
|
|
|
|
%s/\\==/$\\backslash$==/g
|
|
w
|
|
q
|
|
EOF
|
|
ex $1 <<\EOF
|
|
%s/\\=/$\\backslash$=/g
|
|
w
|
|
q
|
|
EOF
|
|
ex $1 <<\EOF
|
|
%s/=/$=$/g
|
|
w
|
|
q
|
|
EOF
|
|
ex $1 <<\EOF
|
|
%s/\~/\\verb+\~+/g
|
|
w
|
|
q
|
|
EOFex $1 <<\EOF
|
|
|
|
|
|
|