Re: system command output different in guile than on command line

2020-08-05 Thread tomas
On Wed, Aug 05, 2020 at 11:27:30AM +, vapnik spaknik via General Guile related discussions wrote: [...] > OK... I was being stupid. We all are, most of us more often than not ;-) >Another strange thing is that if I use the pipeline procedure to do the same >thing, then I get an exit code

Re: system command output different in guile than on command line

2020-08-05 Thread vapnik spaknik via General Guile related discussions
On Tuesday, August 4, 2020, 10:34:22 PM GMT+1, vapnik spaknik wrote: >Hi, >    I'm trying to write some code to get the size of a diff of two files. >If I run the following pipeline in my zsh shell: > >> diff -ua /tmp/file1 /tmp/file2 | wc -c > >it prints 215 >However when I run the followin

Re: system command output different in guile than on command line

2020-08-05 Thread tomas
On Tue, Aug 04, 2020 at 09:34:22PM +, vapnik spaknik wrote: > Hi, > I'm trying to write some code to get the size of a diff of two files. > If I run the following pipeline in my zsh shell: > > > diff -ua /tmp/file1 /tmp/file2 | wc -c > > it prints 215 > However when I run the following in