mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 03:42:56 +08:00

Provide a more efficient method for reading lines (or null terminated sequences) when the input is seekable. Another partial fix for #2007
6 lines
75 B
Fish
6 lines
75 B
Fish
function r2l
|
|
read line1
|
|
read line2
|
|
echo $line1 then $line2
|
|
end
|