ruby - unix utility that reads files into memory? -


i using ruby's net-ssh library remotely execute shell commands. read few files memory rather transfer them via scp/sftp. can can this?

if use wc or ls find size, can use cat data out, read right number of bytes.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -