Re: [hackers] [dmenu][RFC][PATCH] History functionality

From: Xarchus <>
Date: Thu, 3 Dec 2015 02:57:52 -0800

And a couple of fixes for the 'history' patch:

- fixed the code in the BEGIN block of the inline awk program in dmenu_run;
  if no history file was supplied the awk script was just ignoring any
output from dmenu

- improved the history/cache parsing/de-duplication awk one-liner in
  dmenu_path; the former 'NR==FNR' test was not enough: in case of a not
supplied or empty history file it attempted to remove a count followed by a
tab from the file names in the cache. Obviously to find such an occurrence
would be crazy rare, so it was quite harmless (I suppose that you don't
have any executables in your path of the form "count\tname", do you ?
Anyway, now you can :) )

New patch attached.

Received on Thu Dec 03 2015 - 11:57:52 CET

This archive was generated by hypermail 2.3.0 : Thu Dec 03 2015 - 12:00:15 CET