Re: [Fish-users] do you call `read` with no var name(s)?

2017-07-17 Thread Andrew Schulman
> See issue https://github.com/fish-shell/fish-shell/issues/4220
> 
> Is there a reason to continue allowing `read` with no var name(s) to store
> the result of the read?

It's not clear from the manual what read even does if you don't give it any
variable names. Does it discard the input line? Is that the purpose? If so,
then while that might be useful occasionally, it's clearly not needed since
one can just give a dummy variable name.

So no, obviously I've never used that since I'm having trouble figuring out
what it does.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users


[Fish-users] do you call `read` with no var name(s)?

2017-07-16 Thread Kurtis Rader
See issue https://github.com/fish-shell/fish-shell/issues/4220

Is there a reason to continue allowing `read` with no var name(s) to store
the result of the read?

-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users