"head -10000" may be better than "cat". It titles each file.

On 12/02/2010, at 3:13 PM, Matthew Winter <[email protected]> wrote:

Hi,

When picking up an existing project, I find it so much easier to be able to print the source and work through the paper output. Taking notes etc. Guess this could be something for the iPad to do.

I guess resorting to unix commands will be the only option. Just figured that someone in the Rails community had probably already wrapped this into some elegant alternative.

Thanks

Matt


On 12/02/2010, at 2:52 PM, Anthony Richardson wrote:

I don't know the answer sorry .... but the mind boggles as to why anyone would want to do that?

Cheers,

Anthony


On Fri, Feb 12, 2010 at 1:33 PM, Matthew Winter <[email protected] > wrote:
Hi,

I was wondering if anyone knows of a good method of being able to print all source code within a Rails project, ideally with a single command.

I have seen many methods of printing Ruby code, but nothing that would allow me to point the command at a rails project and for it to automatically concatenate all source code (ideally with syntax highlighting) to a single output file for printing.

Thanks.

Matthew Winter

--
You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected] . For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en .



--
You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected] . For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en .

--
You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected] . For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en .

--
You received this message because you are subscribed to the Google Groups "Ruby or 
Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to