mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
8a1e3f97 Added sleeps after curl -X POST 91d35938 working on SelectedOutput for BMI 4234c11e Closes #48 -- Illegal character encoding in string literal (#49) git-subtree-dir: src git-subtree-split: 8a1e3f97118cf39d63ed4e6bcb9ee07ef30075b9
7 lines
398 B
Bash
Executable File
7 lines
398 B
Bash
Executable File
#!/bin/sh
|
|
# see https://en.wikipedia.org/wiki/Windows-1252
|
|
# and https://en.wikipedia.org/wiki/ISO/IEC_8859
|
|
iconv --to-code=WINDOWS-1252 --from-code=UTF-8 print.cpp > print.windows-1252.cpp
|
|
grep -q '^// -\*- coding: windows-1252 -\*-$' print.windows-1252.cpp \
|
|
|| echo '// -*- coding: windows-1252 -*-' | cat - print.windows-1252.cpp > print.tmp.cpp \
|
|
&& mv print.tmp.cpp print.windows-1252.cpp |