From 630e71df865b6c101c87d5c386a5e0e9ed9a3e0c 2012-06-10 22:29:26 From: Aaron Culich Date: 2012-06-10 22:29:26 Subject: [PATCH] mention alternate ! and !! short-hand in %quickref output for %sc and %sx closes #1215 --- diff --git a/IPython/core/magics/osm.py b/IPython/core/magics/osm.py index 0ccb9f6..386e029 100644 --- a/IPython/core/magics/osm.py +++ b/IPython/core/magics/osm.py @@ -435,7 +435,7 @@ class OSMagics(Magics): @skip_doctest @line_magic def sc(self, parameter_s=''): - """Shell capture - execute a shell command and capture its output. + """Shell capture - run shell command and capture output (DEPRECATED use !). DEPRECATED. Suboptimal, retained for backwards compatibility. @@ -550,7 +550,7 @@ class OSMagics(Magics): @line_magic def sx(self, parameter_s=''): - """Shell execute - run a shell command and capture its output. + """Shell execute - run shell command and capture output (!! is short-hand). %sx command