should I be able to write to filenames with a pipe in them?
Roger Pack <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.general |
|---|---|
| Message-ID | <CAL1QdWexj6OYrJuP6PUN83JhEqzA59nqwh+eLLARiRtoZ6FFRg@mail.gmail.com> |
this code: a = "|AB|" File.write(a, a) fails: $ ruby -v bad.rb ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18] sh: -c: line 1: syntax error: unexpected end of file Filenames with pipes in them are valid in linux. Is there something I'm missing here or is this a bug do you think? -Roger Pack- Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>