3 ms·
I've long used `pdfgrep` in a very kludgey way, when stockpiling rare variants of particular used ThinkPad models (for looking up actual specs based on an IBM "
by neilv 4y ago
I've long used `pdfgrep` in a very kludgey way, when stockpiling rare variants of particular used ThinkPad models (for looking up actual specs based on an IBM "type" number shown in a photo on an eBay listing, since the seller's listing of specs is often incorrect).
Example shell function:
t500grep() {
pdfgrep "$1" /home/user/doc/lenovo-psref-withdrawn-thinkpad-2005-to-2013-2013-12-447.pdf
}
Example run:
$ t500grep 2082-3GU
2082-3GU T9400 2.53 2GB 15.4" WSXGA+ Cam GMA, HD 3650 160G 7200 DVD±RW Intel 5100 2G Turbo 9 Bus 32 Aug 08
The Lenovo services to look up this info come and go, and are also slow, but a saved copy of the data lives forever.
(A non/less-kludge way would be to get the information from all my IBM/Lenovo PSREFs into a lovingly-engineering database/knowledge schema, simple CSV file, or `grep`-able ad hoc text file.)