Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vade [2019/09/11 ]
127.0.0.1 external edit
vade [2020/05/16 ] (current)
adam
Line 1: Line 1:
 +~~REDIRECT>https://adam.nz/vade/~~
 ====== Vade Mecum == ====== Vade Mecum ==
 <WRAP right box round 300px> <WRAP right box round 300px>
Line 8: Line 9:
  
 <code> <code>
-vade () { curl --silent http://adam.nz/vade?do=export_raw grep $1 | awk 'BEGIN {FS="</?(code|WRAP|WRAP indent)>"} /ode><WRAP/ {print $2"\n\t-- "$4}' | egrep -i --color "(${1}|$)"; }+vade () { curl --silent "http://adam.nz/vade?do=export_text" egrep -v "(^ *$)" | egrep -A 1 "^#.*(${1}).*$"; } 
 </code> </code>
  

2014 by adam shand. sharing is an act of love, please share.