Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 11th, 2012  |  syntax: None  |  size: 2.39 KB  |  views: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. PYTHONPATH=/my/extra/python/modules python /my/eclipse/plugins/org.python.pydev_*/PySrc/interpreterInfo.py 2>/dev/null | sed 's/INS_PATH$//g;s/OUT_PATH$//g;s/^EXECUTABLE:/Executable\:/g' | tr -d 'n' | cat <(echo -en 'eclipse.preferences.version=1nINTERPRETER_PATH_NEW=Name:python:EndName:') - <(echo '&&&&&') >/my/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.python.pydev.prefs
  2.        
  3. PYTHONPATH= App/Eclipse/plugins/org.python.pydev_*/PySrc/interpreterInfo.py 2> /dev/null
  4. |sed '  s/ INS_PATH$/ / g; REM Delete all instances of INS_PATH that are at the end of a line
  5.         s/ OUT_PATH$/ / g; REM Delete all instances of OUT_PATH that are at the end of a line
  6.         s/ ^EXECUTABLE:/ Executable\:/ g REM Replace all instances of "nEXECUTABLE:" that are at the beginning of a line with "Executable:"
  7. '
  8. |tr -d 'n'
  9. |cat <(echo -en 'eclipse.preferences.version= 1 n INTERPRETER_PATH_NEW= Name:python:EndName:') - <(echo '&&&&&')
  10. >/my/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.python.pydev.prefs
  11.        
  12. PYTHONPATH=/my/extra/python/modules
  13.     python /my/eclipse/plugins/org.python.pydev_*/PySrc/interpreterInfo.py 2>/dev/null |
  14.     sed '
  15.         s/INS_PATH$//g;
  16.         s/OUT_PATH$//g;
  17.         s/^EXECUTABLE:/Executable\:/g
  18.     ' |
  19.     tr -d 'n' |
  20.     cat
  21.         <(
  22.             echo -en 'eclipse.preferences.version=1nINTERPRETER_PATH_NEW=Name:python:EndName:'
  23.         )
  24.         -
  25.         <(echo '&&&&&')
  26.      >/my/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.python.pydev.prefs
  27.        
  28. PYTHONPATH=/my/extra/python/modules
  29.        
  30. python /my/eclipse/plugins/org.python.pydev_*/PySrc/interpreterInfo.py 2>/dev/null |
  31.        
  32. sed '
  33.     s/INS_PATH$//g;
  34.     s/OUT_PATH$//g;
  35.     s/^EXECUTABLE:/Executable\:/g
  36. ' |
  37.        
  38. tr -d 'n' |
  39.        
  40. cat
  41.     <(
  42.         echo -en 'eclipse.preferences.version=1nINTERPRETER_PATH_NEW=Name:python:EndName:'
  43.     )
  44.     -
  45.     <(echo '&&&&&')
  46.  >/my/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.python.pydev.prefs
  47.        
  48. cat input-one input-two input-n > output
  49.        
  50. <( some-command )
  51.        
  52. cat <( some-command ) some-input <( some-other-command )
  53.        
  54. <(
  55.     echo -en 'eclipse.preferences.version=1nINTERPRETER_PATH_NEW=Name:python:EndName:'
  56. )
  57.        
  58. eclipse.preferences.version=1
  59. INTERPRETER_PATH_NEW=Name:python:EndName:
  60.        
  61. -
  62.        
  63. <(echo '&&&&&')
  64.        
  65. >/my/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.python.pydev.prefs
clone this paste RAW Paste Data