xgetres is a simple utility which prints the value of an X resource.
$ cat .Xresources
first: 1
second: 2
$ xgetres first
1
$ xgetres second
2
First make sure you have libx11.
In order to build, simply run:
$ makeThen in order to install, run:
$ make install