noporpoise / strtools Goto Github PK
View Code? Open in Web Editor NEWSmall command line tools for manipulating strings
Home Page: https://sourceforge.net/projects/strlen/
License: Other
Small command line tools for manipulating strings
Home Page: https://sourceforge.net/projects/strlen/
License: Other
strtools - command line utilities for string functions == build == 1) To build: $ make 2) To add a softlink to the executable ln -s PATH/TO/strtools ~/bin/strtools ln -s PATH/TO/uc ~/bin/uc ln -s PATH/TO/lc ~/bin/lc Or add the directory to your ~/.profile: export PATH=$(PATH):PATH/TO/STRTOOLS/ == Run == ## strlen ## $ strlen asdfasdfasdf as 8 2 $ strlen "as d" 4 $ echo "hi bye" | strlen 2 3 ## uc ## $ uc asdfasdfasdf as ASDFASDFASDF AS $ uc "as d" AS D $ echo "hi > bye" | uc HI BYE ## lc ## $ lc ASDFASDFasdf aS asdfasdfasdf as $ lc "aS D.2" as d.2 $ echo "Hi > BYE?" | lc hi bye? $ ## char2ascii ## $ ./char2ascii asdf 97 115 100 102 $ ## ascii2char ## $ ./ascii2char 98 99 100 b c d $ ## strcmp ## $ ./strcmp asdf asdF 32 $ ./strcmp asdf asdf 0 $ ## strcasecmp ## $ ./strcasecmp asdf asdF 0 $ ./strcasecmp asdf qwer -16 $ ## strrev ## $ ./strrev asdf df fdsa fd == More == project: strtools url: http://sourceforge.net/projects/strlen/ author: Isaac Turner <[email protected]> license: GPLv3 copyright (C) 27-Jan-2012 Please get in touch with bug reports or request features, Isaac == Coming soon == int isalnum(int c) -- True if c is alphanumeric. int isalpha(int c) -- True if c is a letter. int isascii(int c) -- True if c is ASCII . int iscntrl(int c) -- True if c is a control character. int isdigit(int c) -- True if c is a decimal digit int isgraph(int c) -- True if c is a graphical character. int islower(int c) -- True if c is a lowercase letter int isprint(int c) -- True if c is a printable character int ispunct (int c) -- True if c is a punctuation character. int isspace(int c) -- True if c is a space character. int isupper(int c) -- True if c is an uppercase letter. int isxdigit(int c) -- True if c is a hexadecimal digit
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.