Posted in Command Line, Linux, Ruby Double space a file using Ruby Binny V A April 23, 2009 Leave a Comment on Double space a file using Ruby Double space a file with Ruby using the command ruby -pe 'puts' < file.txt Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.