Skip to content

Commit e733325

Browse files
authored
List nbsp one liner directly in style guide
Closes #1719
1 parent ee0809f commit e733325

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

STYLEGUIDE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ To avoid the version number to be wrapped on a separate line from the 'Perl' ter
8080
use a [non-breaking space (NBSP)](https://en.wikipedia.org/wiki/Non-breaking_space),
8181
that is coded as Unicode character U+00A0.
8282

83-
See also [issue 1719](https://github.com/perl6/doc/issues/1719) which contains
84-
a Perl one-liner to apply NBSP to 'Perl 5|6'.
83+
To convert all Perl names to this style in `SOME-FILE`, you can use this one liner:
84+
85+
perl -C -pi -e 's/Perl (6|5)/Perl\x{A0}$1/g' SOME-FILE
8586

8687
### Domain
8788

0 commit comments

Comments
 (0)