2,684
edits
(→The script: removed check for distance=0 because bash only does integers) |
m (→Obtaining generate_XDS.INP from this webpage: update URL of webserver) |
||
Line 1,317: | Line 1,317: | ||
Instead of cutting-and-pasting the lines of the script, you (or the system administrator) could just cut-and-paste the following four lines | Instead of cutting-and-pasting the lines of the script, you (or the system administrator) could just cut-and-paste the following four lines | ||
<pre> | <pre> | ||
wget http:// | wget http://wiki.uni-konstanz.de/xds/index.php/generate_XDS.INP -O - | \ | ||
sed -e s/\ \;/\ /g -e s/\>\;/\>/g -e s/\<\;/\</g -e s/amp\;//g -e s/\"\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \ | sed -e s/\ \;/\ /g -e s/\>\;/\>/g -e s/\<\;/\</g -e s/amp\;//g -e s/\"\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \ | ||
sed -ne '/<pre>#/,/<\/pre>/p' tmp3 | sed 's/<\/\?pre>//' > generate_XDS.INP | sed -ne '/<pre>#/,/<\/pre>/p' tmp3 | sed 's/<\/\?pre>//' > generate_XDS.INP | ||
Line 1,324: | Line 1,324: | ||
to copy the script from this website into an executable file generate_XDS.INP in your current directory. On a Mac (which does not seem to have wget), one could try | to copy the script from this website into an executable file generate_XDS.INP in your current directory. On a Mac (which does not seem to have wget), one could try | ||
<pre> | <pre> | ||
curl -L -o - http:// | curl -L -o - http://wiki.uni-konstanz.de/xds/index.php/generate_XDS.INP | \ | ||
sed -e s/\ \;/\ /g -e s/\>\;/\>/g -e s/\<\;/\</g -e s/amp\;//g -e s/\"\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \ | sed -e s/\ \;/\ /g -e s/\>\;/\>/g -e s/\<\;/\</g -e s/amp\;//g -e s/\"\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \ | ||
sed -ne '/<pre>#/,/<\/pre>/p' tmp3 | sed 's/<\/\?pre>//' > generate_XDS.INP | sed -ne '/<pre>#/,/<\/pre>/p' tmp3 | sed 's/<\/\?pre>//' > generate_XDS.INP |