Hello again, I have one more issue when working with stdin in fish. Is it possible to (easily) read from stdin/pipe more than one line?
I would like to be able to do: cat myfile | myscript (where in myscript a content of a file is read and pass (for example) to a clipboard) In bash I have seen a weird construction "input="$(< /dev/stdin)". In fish I would probably `read` a line by line in a loop and concatenate the content of a variable, but maybe there is a simpler way? Marcin ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users