Oliver Ford

Results 331 comments of Oliver Ford
trafficstars

Oh, ah! ``` ~>time bass source "$HOME/.profile" ________________________________________________________ Executed in 3.57 secs fish external usr time 268.13 millis 1.76 millis 266.38 millis sys time 291.01 millis 3.44 millis 287.57 millis...

Which of course you'd think could only be a `fish` issue, but: ``` ~>time echo "$HOME/.profile" >/dev/null ________________________________________________________ Executed in 122.00 micros fish external usr time 128.00 micros 128.00 micros...

Ah, of course.. :facepalm: - it's not that there's a variable interpolated, it's that it's an absolute path: ``` ~>time bass source /home/ojf/.profile ________________________________________________________ Executed in 3.63 secs fish external...

Wrong again..! It seems to be the presence of forward slashes, not necessarily that it's at the beginning (an absolute path).

I see, thanks. > I suggest to just break the file apart? That's not really ideal when, as is the case here, it's a third party file. In this case...

@edc Could we perhaps have a flag to say `--use-temp-file` in cases where this can be anticipated?

No problem, thanks; it is a recurring itch for me, so I may get around to scratching it. > moving from using a temp file to using FIFO pipe for...

Thanks! I'll certainly give that a go, and close if that resolves mine too. Cheers.

@edc Sorry for the delay. Snappy: ```fish fish$ bass -- source large_file.sh bash$ set -o allexport ; source large_file.sh bash$ eval 'set -o allexport \; source large_file.sh' ``` Hangs: ```fish...

It's not just aesthetic either, it just took me a couple of minutes to figure out why cargo wasn't finding it.