Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aydinmercan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
aydinmercan
6y ago
I have seen awk be used for really cool stuff but I usually find myself just using sed and cut anyway. For example I would probably write the git ls-tree part as this: git ls-tree -r HEAD | cut -f2 | xargs -n1 sed -n "/^\&#