Searching in libxcmd