mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 22:58:46 +00:00
5809608bd2
Provide a more efficient method for reading lines (or null terminated sequences) when the input is seekable. Another partial fix for #2007
5 lines
75 B
Fish
5 lines
75 B
Fish
function r2l
|
|
read line1
|
|
read line2
|
|
echo $line1 then $line2
|
|
end
|