summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-12-28 22:51:12 -0300
committerGenerated from internal repo <nobody@neo900.org>2016-12-28 22:51:12 -0300
commit18be90d87a0e3e8b8a9d4cb5ed9f4669d5de46da (patch)
treebcfe20171d2418f1540fbb191c23e2b3ed678968
parent9be0f161e870755a53ad00d31f39ab929f121164 (diff)
downloadee-18be90d87a0e3e8b8a9d4cb5ed9f4669d5de46da.tar.gz
ee-18be90d87a0e3e8b8a9d4cb5ed9f4669d5de46da.tar.bz2
ee-18be90d87a0e3e8b8a9d4cb5ed9f4669d5de46da.zip
Merge branch 'master' of ssh://neo900.org:22022/ee-full
-rwxr-xr-xhw/getsilego2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/getsilego b/hw/getsilego
index d9c9612..ba43ce2 100755
--- a/hw/getsilego
+++ b/hw/getsilego
@@ -1,2 +1,4 @@
#!/bin/sh
+#get the URLof the pdf datasheet for a silego product, input searchstring as parameter, return URL via stdout
+#v1.01 JR
echo -n $(wget -q http://www.silego.com/softdoc/datasheet.html?filterPN=${1} -O -|sed -n "s%.*href\=\"\([^ ]*${1}[^ ]*pdf\)\".*%\1%;T;p;q" )