HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by oguz-ismail

Comment by oguz-ismail 17 hours ago

1 reply

View on Hacker News

    find . -name '.*?' -prune -o -name '*.foo' -exec grep bar /dev/null {} +
This is the POSIX way. You'd probably put it in a function in .bashrc
robenkleene 15 hours ago

Just noting that I answered why I don't use this approach here https://news.ycombinator.com/item?id=45569313

Reply View | 0 replies