mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 19:08:55 +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
|