Skip to content

Instantly share code, notes, and snippets.

@vincentchu
Created June 30, 2010 01:08
Show Gist options
  • Select an option

  • Save vincentchu/458077 to your computer and use it in GitHub Desktop.

Select an option

Save vincentchu/458077 to your computer and use it in GitHub Desktop.
length = 260240
puts "length = #{length}"
ENV["FOO"] = "a" * length
ls_out = `ls`
puts "length = #{ls_out.length} - #{ls_out}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment