[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-talk
Subject: Re: -e oneliners with File.open
From: "Jason Voegele" <jason () jvoegele ! com>
Date: 2002-05-22 14:06:15
[Download RAW message or body]
> Hi,
>
> I wanted to see how well Vim handles large files, so I entered
> something like
>
> ruby -e 'File.open("foo.txt","w") do |f|; f.write 6; end'
>
> (the string to write was different, but the above is enough to
> reproduce the error)
> but got
>
> -e:1: parse error
Try swapping the single and double quotes. Also, you don't need the
semicolons.
--
Jason Voegele
"We believe that we invent symbols. The truth is that they invent us."
-- Gene Wolfe, The Book of the New Sun
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic