shenwei356 / rush

A cross-platform command-line tool for executing jobs in parallel
https://github.com/shenwei356/rush
MIT License
866 stars 63 forks source link

print ">" using rush #5

Closed xtmgah closed 7 years ago

xtmgah commented 7 years ago

Hello:

how can I print ">" or there special characters with rush echo command: for example:

seq 1 100 |rush 'echo cat {} >n{}'

I want to output similar like this:

cat 1 >n1 cat2 >n2 cat3 >n3 ........

shenwei356 commented 7 years ago
seq 1 100 | rush -e "echo cat {} >n{}"
xtmgah commented 7 years ago

Thanks for your quick response. It’s still not printer the “>” after running… it print 'cat {}' to the file n{}’...

On Aug 9, 2017, at 11:55 PM, Wei Shen notifications@github.com wrote:

seq 1 100 | rush -e "echo cat {} >n{}" — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/shenwei356/rush/issues/5#issuecomment-321443675, or mute the thread https://github.com/notifications/unsubscribe-auth/AECjdFftwyIs-rl3Uok6ZdmhJfv43x2Rks5sWn8mgaJpZM4Oy58d.

shenwei356 commented 7 years ago

seq 1 100 | rush 'echo "cat {} >n{}" '