Comments on: How to Use Sed in Linux for Basic Shell Tasks https://www.maketecheasier.com/use-sed-in-linux/ Uncomplicating the complicated, making life easier Fri, 20 May 2022 11:01:21 +0000 hourly 1 https://wordpress.org/?v=6.0.1 By: Alan https://www.maketecheasier.com/use-sed-in-linux/#comment-100134 Fri, 20 May 2022 11:01:21 +0000 https://admin.maketecheasier.com/?post_type=pitch&p=470666#comment-100134 1) printf “hello\nmaketecheasier\nworld\n” | sed n
does the same as:
printf “hello\nmaketecheasier\nworld\n”
at least in Ubuntu Desktop 20.04LTS.

2) What is the contents of the hello.txt file, prior to parsing it through any of the sed commands? If we don’t know what we started with, how can we follow what sed is doing?

I gave up after that, as it seems like the author didn’t even bother to re-read their own article.

]]>