add xargs grep

This commit is contained in:
onceupon 2016-09-29 17:17:45 +08:00 committed by GitHub
parent aa54bddced
commit 540c89273a

View File

@ -627,8 +627,11 @@ cat requirements.txt| xargs -n1 sudo pip install
```bash
ls|xargs wc -l
```
#####xargs and grep
```bash
cat grep_list |xargs -I{} grep {} filename
```
##Find
[[back to top](#handy-bash-oneliner-commands-for-tsv-file-editing)]