[IPython-dev] Expanding $a to 'f1 f2' when $a is ['f1','f2']
Ville Vainio
vivainio at kolumbus.fi
Wed Mar 16 16:49:45 EST 2005
One often deals with lists of filenames when doing shellish stuff. It
would be quite useful if you could use $flist in shell commands to say
'list of files', i.e. a list of file names separated by space. As it
stands, it expands to the string representation of the list, which is
almost never useful in shell commands. I've done
for f in junk:
rm $f
way too often lately, I'd just like to do
rm $junk
More information about the IPython-dev
mailing list