/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Show HN: Scooter – Interactive find and replace in the terminal
(github.com)
131 points
tomschafer
| 1 comments |
15 Nov 24 16:45 UTC
|
HN request time: 0.344s
|
source
Show context
sigmonsays
◴[
15 Nov 24 22:33 UTC
]
No.
42151991
[source]
▶
>>42148543 (OP)
#
We're losing the art of bash ``` find -type f -iname '*.go' | xargs -r -n1 sed -i 's,foo,foobar,g' ```
replies(4):
>>42153830
#
>>42153991
#
>>42154761
#
>>42155854
#
1.
mh-
◴[
16 Nov 24 03:16 UTC
]
No.
42153830
[source]
▶
>>42151991
#
Something that frequently trips me up, mostly when helping colleagues, is the arguments to both find and xargs differ substantially between GNU and the FreeBSD-derived ones that ship on macOS.
ID:
GO
↑