Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/ruby
- # Give this a file and an enlargement factor and pipe the resulting output to a bigger file
- lines = File.open(ARGV.shift).readlines
- factor = ARGV.shift.to_i
- factor.times do
- lines.each do |line|
- puts line
- end
- end
Add Comment
Please, Sign In to add comment