News for hackers. Stuff that matters.
Re:Aho – a Git implementation in Awk by wazbug on Saturday February 10, 2024 @05:35PM (#39330852)
Ruby is nice in this regard though :-)

    x = `git --version`
    puts(x) #=> "git version 2.43.0"
Re:Aho – a Git implementation in Awk by KerrAvon on Sunday February 11, 2024 @12:48AM (#39332919)
Ruby is really nice in this regard, in fact — you’re not limited to backticks; you can use any quote delimiters you want.
Re:Aho – a Git implementation in Awk by riddley on Sunday February 11, 2024 @07:54AM (#39334668)
Ruby is nice in every regard :) Most languages have some form of backticks to run an external binary. When I left my original comment I got a phone call in the middle of it and rushed it, sorry about that. What I really meant was having the versatility of the big 3 file descriptors along with return codes, etc. You can use Open3 (in the ruby case) but it's unwieldy compared to, say bash.