Re: [hackers] [dmenu][RFC][PATCH] History functionality
On Wed, Dec 09, 2015 at 10:31:09AM +0100, Silvan Jegen wrote:
> I realized that I am not dealing with the case that the history file
> does not exist already. I added a simple check for that (although I
> was considering just putting in a comment saying that it has to).
>
> +if [ ! -e $historyfile ]; then
> + touch $historyfile
> +fi
Why the if?, why not directly touch the file?
Regards,
Received on Wed Dec 09 2015 - 11:12:42 CET
This archive was generated by hypermail 2.3.0
: Wed Dec 09 2015 - 11:24:12 CET