Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • sed -e 's/o\>//g' You are welcome Commented Nov 20, 2017 at 20:09
  • Thanks you for answering! I see why you've made this more compact. However, this exact command still results in no deletion at all on my machine. Here is a copy and paste of command and output: $ echo 'Hello Hello' |sed -e 's/o\>//g' Hello Hello Commented Nov 20, 2017 at 20:41
  • It seems I am using correct commands but somehow they don't work on my system Commented Nov 20, 2017 at 20:42
  • @Triplesmeg what's your sed version? Commented Nov 28, 2019 at 16:42