Skip to content

A command line tool for manipulating URL-encoded query strings

License

Notifications You must be signed in to change notification settings

TheMachoManRandySavage/urlencode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Encode/Decode

A command line tool for manipulating URL-encoded query strings.

URL-encode standard input

$ echo -n '@#$%^&*' | urlenc enc
%40%23%24%25%5E%26%2A

URL-decode standard input

$ echo -n '%40%23%24%25%5E%26%2A' | urlenc dec
@#$%^&*

Displays a query string as a list

$ echo -n 'foo=bar&fizz=buzz' | urlenc list
fizz: buzz
 foo: bar

Encodes a list as a query string

$ urlenc query <<EOF
> fizz: buzz
>  foo: bar
> EOF
fizz=buzz&foo=bar

Building

To build the tools:

$ make

To install the tools in $GOPATH/bin:

$ make install

About

A command line tool for manipulating URL-encoded query strings

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 52.3%
  • Makefile 27.2%
  • Shell 14.8%
  • Ruby 5.7%