General

Profile

JohanJosefsson (Johan Josefsson)

  • Login: JohanJosefsson
  • Registered on: 07/12/2022
  • Last sign in: 07/31/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

08/05/2022

08:02 PM Ruby master Bug #18909: ARGF.readlines reads more than current file
mame (Yusuke Endoh) wrote in #note-14:
> Is this what you want?
>
> ```
> $ echo primo > a
> $ echo secundo >> ...
JohanJosefsson (Johan Josefsson)

07/16/2022

10:57 AM Ruby master Bug #18920 (Closed): Documentation on ARGF.inplace_mode and ARGF.inplace_mode= is wrong
The file extension is appended to a copy of the original file and not to the modified file.
Cf. man page for ruby.
JohanJosefsson (Johan Josefsson)
10:47 AM Ruby master Bug #18909: ARGF.readlines reads more than current file
Eregon (Benoit Daloze) wrote in #note-11:
> My two cents, options like `-i`/`-n`/`-p` shouldn't be used, I think the...
JohanJosefsson (Johan Josefsson)
10:25 AM Ruby master Bug #18909: ARGF.readlines reads more than current file
austin (Austin Ziegler) wrote in #note-10:
...
In your link it is clear that e.g. in the case of read, `ARGF` concate...
JohanJosefsson (Johan Josefsson)

07/15/2022

06:48 PM Ruby master Bug #18909: ARGF.readlines reads more than current file
But this "documented API" was not implemented in the way it was described. From my limited viewpoint I would have pre... JohanJosefsson (Johan Josefsson)
05:36 PM Ruby master Bug #18909: ARGF.readlines reads more than current file
Yes, ARGF can work with a concatenated pseudo file in several ways but this idea collides squarely with the idea of i... JohanJosefsson (Johan Josefsson)
06:33 AM Ruby master Bug #18909: ARGF.readlines reads more than current file
Hm…if I understand it correctly, this just changed the documentation to conform to a strange behavior. Strange in the... JohanJosefsson (Johan Josefsson)

07/13/2022

01:00 PM Ruby master Bug #18909 (Closed): ARGF.readlines reads more than current file
The docuentation says that ARGF.readlines: *Reads ARGF's current file in its entirety* , but this is what happens:
...
JohanJosefsson (Johan Josefsson)

Also available in: Atom