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,