2,684
edits
m (try to fix extraction of script from webpage) |
|||
Line 1,319: | Line 1,319: | ||
wget http://wiki.uni-konstanz.de/xds/index.php/generate_XDS.INP -O - | \ | 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 '/#!/bin/bash/,/# end of generate_XDS.INP/p' > generate_XDS.INP | sed -ne '/\#\!\/bin\/bash/,/# end of generate_XDS.INP/p' > generate_XDS.INP | ||
chmod +x generate_XDS.INP | chmod +x generate_XDS.INP | ||
</pre> | </pre> | ||
Line 1,326: | Line 1,326: | ||
curl -L -o - http://wiki.uni-konstanz.de/xds/index.php/generate_XDS.INP | \ | 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 '/#!/bin/bash/,/# end of generate_XDS.INP/p' > generate_XDS.INP | sed -ne '/\#\!\/bin\/bash/,/# end of generate_XDS.INP/p' > generate_XDS.INP | ||
chmod +x generate_XDS.INP | chmod +x generate_XDS.INP | ||
</pre> | </pre> |