Email or username:

Password:

Forgot your password?
Top-level
la ninpre

@caffeine hmm, based on usage of `head` in your code, i think one can replace it with `sed 1q` or `awk 'NR==1'. i dunno why, just for fun.

3 comments
Caffeine’s Heir

@la_ninpre I tried. `head` performs better. I wanted to use `awk` only, but it was much slower than `head` and `grep`.

la ninpre

@caffeine hmmm, interesting, but it kinda makes sense. my intuition is that maybe busybox versions of these tools will be faster than gnu coreutils. but i haven't tested it yet.

Caffeine’s Heir

@la_ninpre I have people running it even over git-bash.exe so I can't pick and choose much :(

Go Up