Comments (3)
Can't you just use xargs for that?
from pss.
xargs is possible - didnt think about this.
I still see some value in my suggestion as sometime you would want to filter further on path like so.
pss --cc --file-list 'file-list.txt' 'malloc' /some/path
I assume this can also be done by greping the xargs before calling pss, but its less convenient
from pss.
It has been my policy so far to reject features that try to add "unix command-line tool" functionality inside pss. pss is designed to be a good citizen of the command-line world, interacting with other tools like xargs and grep as needed.
I also encourage folks to create aliases/bash functions to encapsulate common uses wrapping pss with additional "features".
from pss.
Related Issues (20)
- Return values HOT 9
- Add "searchindex.js" to the default exclude list HOT 1
- pattern "->" seems to cause an issue HOT 1
- enhancment: add support for multi-line search HOT 1
- Enhancement request: Support in-plce replace a-la sed HOT 4
- Support omitting line numbers in output HOT 1
- Differences with silver-searcher and rgrep HOT 1
- Pack as a snap HOT 2
- Syntax aware searcher HOT 2
- Add node_modules to directories ignored by default
- Command line parser doesn't support multiple occurrences of --include-pattern or --exclude-pattern HOT 1
- The optparse library is deprecated since Python v3.2 HOT 2
- Tests do not run under Python3.6 HOT 1
- pss --smart-case problem with 143 HOT 1
- Drop support for Python 2 HOT 1
- Search from `.robot` and `.resource` files by default HOT 9
- by default line number is not colored HOT 2
- Easily iterate over and search git branches HOT 1
- Support for pyproject.toml HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pss.