mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 15:19:11 +08:00
Fix string collect examples
collect -N leaves the trailing newline, not the other way around.
This commit is contained in:
parent
37e9a3067f
commit
96425d2231
@ -35,12 +35,12 @@ Examples
|
||||
>_ echo \"(echo one\ntwo\nthree | string collect)\"
|
||||
"one
|
||||
two
|
||||
three
|
||||
"
|
||||
three"
|
||||
|
||||
>_ echo \"(echo one\ntwo\nthree | string collect -N)\"
|
||||
"one
|
||||
two
|
||||
three"
|
||||
three
|
||||
"
|
||||
|
||||
.. END EXAMPLES
|
||||
|
Loading…
x
Reference in New Issue
Block a user