2024-07-05 17:59:05 +02:00
|
|
|
str=$(tr '[a-z]' '[A-Z]' <<< $1)
|
|
|
|
|
|
|
|
cat COMMON.LSP STRUCTUR.LSP $str.LSP >FOO.LSP
|
|
|
|
|
|
|
|
# remove ^z end of file characters found in common.lsp and structur.lsp
|
|
|
|
tr '\32' ' ' <FOO.LSP >BAR.LSP
|
|
|
|
|
|
|
|
# remove (RDS) twice from the file
|
2024-07-05 18:15:22 +02:00
|
|
|
sed -e '/(RDS)/d' BAR.LSP >BAZ.LSP
|
2024-07-05 17:59:05 +02:00
|
|
|
|
2024-07-05 18:15:22 +02:00
|
|
|
ntvdm -r:. -u -p -c mulisp BAZ.LSP
|
2024-07-05 17:59:05 +02:00
|
|
|
|
|
|
|
rm FOO.LSP 2>/dev/null
|
|
|
|
rm BAR.LSP 2>/dev/null
|
2024-07-05 18:15:22 +02:00
|
|
|
rm BAZ.LSP 2>/dev/null
|