From: Steve Hancock Date: Wed, 14 Jun 2023 18:45:30 +0000 (-0700) Subject: fix doc X-Git-Tag: 20230309.04~11 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=155d539926635a1b7d8de1693d878307010f5616;p=perltidy.git fix doc --- diff --git a/docs/ci_update.md b/docs/ci_update.md index f1a6d51c..bd3f5b72 100644 --- a/docs/ci_update.md +++ b/docs/ci_update.md @@ -365,7 +365,7 @@ The alignment of the ``map`` and ``sort`` braces produces an undesirable gap. The revised formatting avoids this: ``` - return sort grep { length($_) > 0 } - map { substr( $_, $length ) } - grep { starts_with( $_, $prefix . $text ) } @bookmarks; + print $fh map { $_->[0] } + sort { $a->[1] cmp $b->[1] || $a->[0] cmp $b->[0] } + map { my $f = lc $_; $f =~ s/[^a-z0-9\s]//g; [ $_, $f ] } @manifest; ```