Poster of Linux kernelThe best gift for a Linux geek
URLCODING

URLCODING

Section: Misc. Reference Manual Pages (3) Updated: libbash urlcoding Library Manual
Local index Up

BSD mandoc
 

NAME

urlcoding - a Libbash library for encoding and decoding URL's.  

SYNOPSIS

urlEncodeString Bo Fa -l Bc Aq Fa STRING
urlEncodeFile Bo Fa -l Bc Aq Fa FILE
urlEncodeStream Bo Fa -l Bc
urlDecodeString Aq Fa STRING
urlDecodeFile Aq Fa FILENAME
urlDecodeStream

 

DESCRIPTION

is a collection of functions that convert ASCII-text to standard URL's and vice-versa. The AWK code used is based on code by Heiner Steven <heiner.steven@odn.de>

The function list:

urlEncodeString
Creates a URL from an ASCII string
urlEncodeFile
Converts a file into URL-valid text
urlEncodeStream
Converts standard input into URL-valid text
urlDecodeString
Converts a URL-encoded text back to a plain-text form
urlDecodeFile
Coverts URL-encoded text in a file back to plain text
urlDecodeStream
Converts URL-encoded standard input to text

Detailed interface description follows.

The [-l ] option for the encoding functions should be used when line-feed characters ('\n') are to be encoded as well.

All functions print the results of their conversions to standard output.

The exit status of all functions is that of the command 'awk', with '0' for success

 

FUNCTIONS DESCRIPTIONS

 

urlEncodeString Bo Fa -l Bc Aq Fa STRING

Converts STRING - a string of ASCII characters - to URL.

 

urlEncodeFile Bo Fa -l Bc Aq Fa FILE

Coverts FILE of URL-encoded text to plain text  

urlEncodeStream Bo Fa -l Bc

Converts text from standard input to URL-text.

 

urlDecodeString Aq Fa STRING

Converts URL-encoded string STRING back to text.

 

urlDecodeFile Aq Fa FILENAME

Converts the URL-encoded text in FILE to plain text.

 

urlDecodeStream

Converts the URL-encoded text from standard input to plain-text

 

AUTHORS

An Alon Keren Aq alon.keren@gmail.com  

SEE ALSO

ldbash(1), libbash(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
FUNCTIONS DESCRIPTIONS
Cm urlEncodeString Bo Ns Fa -l Ns Bc Aq Ns Fa STRING Ns
Cm urlEncodeFile Bo Ns Fa -l Ns Bc Aq Ns Fa FILE Ns
Cm urlEncodeStream Bo Ns Fa -l Ns Bc
Cm urlDecodeString Aq Ns Fa STRING Ns
Cm urlDecodeFile Aq Ns Fa FILENAME Ns
Cm urlDecodeStream
AUTHORS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:57:59 GMT, April 16, 2011