mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 14:24:35 +08:00
5809608bd2
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
|