[pass] [passmenu]: Complicated way for first line?

René Neumann lists at necoro.eu
Sat Jan 9 00:02:24 CET 2016

Hi all,

I noticed that in the master branch, passmenu uses this rather
complicated expression to get the first line:
	awk 'BEGIN{ORS=""} {print; exit}'

Is there a reason why this is not just 'head -n 1'? (Which would also be
clearer, for those of us, where the awk-foo is a lil' rusty :)).

If there is a reason: pass itself still uses head, so might need a
change there too :)

- René

More information about the Password-Store mailing list