Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print ">" using rush #5

Closed
xtmgah opened this issue Aug 10, 2017 · 3 comments
Closed

print ">" using rush #5

xtmgah opened this issue Aug 10, 2017 · 3 comments

Comments

@xtmgah
Copy link

xtmgah commented Aug 10, 2017

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
Copy link
Owner

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

@xtmgah
Copy link
Author

xtmgah commented Aug 10, 2017 via email

@shenwei356
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants