in reply to Re: Unicode in one-liner
in thread Unicode in one-liner

I like using names where possible.

perl -nC -E 'print "\N{BULLET} $_"' /usr/share/dict/words

Replies are listed 'Best First'.
Re^3: Unicode in one-liner
by haukex (Archbishop) on Dec 29, 2016 at 13:31 UTC

    Hi shawnhcorey,

    perl -nC -E 'print "\N{BULLET} $_"' /usr/share/dict/words

    Note that the automatic loading of charnames was added in v5.16. For older versions of Perl, there's either 1nickt's one-liner, or:

    perl -Mcharnames=:full -nC -E 'print "\N{BULLET} $_"' /usr/share/dict/ +words

    Regards,
    -- Hauke D