What would you like to see in a Linux command line workshop? Starting with the basics but would love input to make it what people need!
-
Show this thread
-
Replying to @theroxyd
@hacks4pancakes grep find xargs sed is like, 80% of my workflow most of the time1 reply 0 retweets 6 likes -
specifically when working with large/unfamiliar codebases `grep -nr` (print file/line, recursive) for function decls/invocations, struct decls, typedefs etc
1 reply 0 retweets 0 likes -
makes it very simple/fast to figure out What Is This Even in a codebase I've never seen before when trying to fix bugs or etc
1 reply 0 retweets 0 likes -
also for bulk changes `grep -Zl` or `find . -name whatever -print0` piped to `xargs -0 sed -n 's/foo/far/p` prints all resulting lines w/o doing anything
1 reply 0 retweets 2 likes -
then when happy with result remove p in pattern and change -n to -i to actually perform changes
1 reply 0 retweets 1 like
(not sure if overly specific but this is more or less the sum of What I Wish I'd Been Told rather than gradually figuring it out on the job)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.