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*

7
  • \$\begingroup\$ Why the grep? (cat&&echo _)|sed 's~.~ |&|\n~g;1s~^~ |\n /_\\\n~;$s~$~/___\\\n VvV~'. Actually I see no reason to use cat and echo either. Would be shorter transformed into pure sed solution. \$\endgroup\$ Commented Aug 26, 2016 at 15:00
  • \$\begingroup\$ With pure sed, you don't get any output if you don't have input \$\endgroup\$ Commented Aug 26, 2016 at 15:17
  • \$\begingroup\$ Doh. You are right. Sorry, I forgot that part of requirement. \$\endgroup\$ Commented Aug 26, 2016 at 15:26
  • \$\begingroup\$ @manatwork I forgot about it in my first try too. \$\endgroup\$ Commented Aug 26, 2016 at 15:27
  • \$\begingroup\$ For future reference, avoid using <pre><code> tags. Use 4 spaces preceding the code in the future, as this auto-escapes Markdown formatting. I have maintained the current formatting due to the strikethrough, but you can just leave that in edit history as well for those curious to look at it. \$\endgroup\$ Commented Aug 26, 2016 at 15:41