Table of Contents

Name

camelCase - return camelCase of a string

Synopsis

camelCase [ string ]

Description

Convert a string to its camelCase representation.
If an argument is given then this is taken as input string to be converted to camelCase.
If no argument is given then the input is read from stdin and converted to camelCase. No more than 1024 bytes are read from stdin.

Return Value

The return value is 0.

Examples

$ tools/camelCase ’TeSt sTrInG a1’
testStringA1


$ echo|awk ’{s="TeSt sTrInG a1";cmd="tools/camelCase \""s"\"";cmd |getline c;close(cmd);print c}’
testStringA1

Author

Frank Bergmann, http://www.tuxad.com


Table of Contents