2 ms·
Given that you are programming in Ruby, you can make your shell script part of a Ruby script that then calls the code to process each individual file, no? Ruby
by jimbokun 18y ago
Given that you are programming in Ruby, you can make your shell script part of a Ruby script that then calls the code to process each individual file, no? Ruby gives you best of both worlds in this case.
- mattjaynes 18y agoFor sure. I use ruby as a wrapper for most of my shell scripting, so those commands will end up in a file with the .rb extension at some point ;)