Generate XDS.INP: Difference between revisions

Jump to navigation Jump to search
m
try to fix extraction of script from webpage
m (try to fix extraction of script from webpage)
Line 1,287: Line 1,287:
echo spots in FRAME.cbf!
echo spots in FRAME.cbf!
rm -f tmp1 tmp2
rm -f tmp1 tmp2
 
# end of generate_XDS.INP
</pre>
</pre>


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/\&nbsp\;/\ /g -e s/\&gt\;/\>/g -e s/\&lt\;/\</g -e s/amp\;//g -e s/\&quot\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \
   sed -e s/\&nbsp\;/\ /g -e s/\&gt\;/\>/g -e s/\&lt\;/\</g -e s/amp\;//g -e s/\&quot\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \
   sed -ne '/<pre>#/,/<\/pre>/p' tmp3 | sed 's/<\/\?pre>//' > 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/\&nbsp\;/\ /g -e s/\&gt\;/\>/g -e s/\&lt\;/\</g -e s/amp\;//g -e s/\&quot\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \
   sed -e s/\&nbsp\;/\ /g -e s/\&gt\;/\>/g -e s/\&lt\;/\</g -e s/amp\;//g -e s/\&quot\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \
   sed -ne '/<pre>#/,/<\/pre>/p' tmp3 | sed 's/<\/\?pre>//' > 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>
2,684

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu