Closed requested to merge rnhmjoj/xrdb:query into master
The world is littered with broken grep commands because
can only dump the database and doesn't implement this simple search
Things I tested:
xrdb -querywithout arguments works the same as before
xrdb -query propprints the value of
propwhen it exists in the resource database.
xrdb -query propdoesn't print anything when
propdoesn't exist in the resource database.
xrdb -query propdoesn't leak any memory. I run it in valgrind with the
PS: I think Sun took care of the fputs thing by now.