pyline icon indicating copy to clipboard operation
pyline copied to clipboard

ENH: Add sarge support

Open westurner opened this issue 11 years ago • 2 comments

example::

pyline '"rm -f {0}; ln -s ../formulas/{0}-formula/{0}".format(w[8])'

westurner avatar May 17 '14 15:05 westurner

This can almost be done with https://en.wikipedia.org/wiki/Xargs :

man xargs
xargs -I

westurner avatar Oct 23 '14 10:10 westurner

This is also somewhat possible with el:

  • | Docs: https://westurner.org/dotfiles/usage#el
  • | Src: https://github.com/westurner/dotfiles/blob/develop/scripts/el

echo -e '1\n2\n3' | el -v -x 'echo "number {} #"'
echo -e '1\n2\n3' | el -v --each -x 'echo "number {} #"'
``

westurner avatar Feb 14 '16 23:02 westurner