Commits

Radu Potop committed f9583e7

separate urlencode

  • Participants
  • Parent commits ef98c3c

Comments (0)

Files changed (2)

 #!/bin/bash
 # Usage: g <search terms>
-# Only works with GNU od
 
 APP=elinks
-IN=`echo -n $@|od -t x1 -A n|tr -d '\n'|tr ' ' %`
+IN=`echo -n $@|urlencode`
 
 $APP http://google.com/search?q=$IN
+#!/bin/bash
+# Only works with GNU od
+
+od -t x1 -A n|tr -d '\n'|tr ' ' %