From 155d539926635a1b7d8de1693d878307010f5616 Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Wed, 14 Jun 2023 11:45:30 -0700 Subject: [PATCH] fix doc --- docs/ci_update.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; ``` -- 2.39.5