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*

5
  • \$\begingroup\$ Could you use another file, possibly with a shorter name, that's essentially guaranteed to have all possible octets? and might even terminate? I'm thinking like /dev/memory or something. \$\endgroup\$ Commented Jan 30, 2014 at 14:20
  • \$\begingroup\$ @fennec if we assume that man and zsh are installed, man zshall seems to fit the criteria. I could add that as a variation. \$\endgroup\$ Commented Jan 30, 2014 at 18:20
  • \$\begingroup\$ man ascii could save you another letter, I think. \$\endgroup\$ Commented Jan 31, 2014 at 2:51
  • \$\begingroup\$ Which tr are you using? GNU tr treats the - in "cat $0" as a range operator, which breaks the output. \$\endgroup\$ Commented May 21, 2018 at 10:15
  • \$\begingroup\$ BTW, if the ascii program is installed, you could use that in place of man ascii. \$\endgroup\$ Commented May 21, 2018 at 10:16