Add Comment
|
Related Links
|
TrackBack
MonthToNumeric.sh (GPL)MonthToNumeric.sh is a Bourne shell script that takes a three-letter month name and returns the numeric value of the month. The first character of the month name must be upper-case, while the rest of the character must be lower-case. If MonthToNumeric.sh does not recognize the month specified, it will return the value '99'. MonthToNumeric.sh is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site. UsageMonthToNumeric.sh [ -p ] "Month in Three Letters" Examples: MonthToNumeric.sh Jan Chieh Cheng I have decided to make "MonthToNumeric.sh" more robust than before. The new version I attached below is now case-insensitive to your input. In addition, the month can be fully spelled out or limited to three characters as before. This new version of the "MonthToNumeric.sh" script takes advantage of the following shell scripts, which are also available on this site. So to use the this script, you will need to download these other scripts if you don't already have them. StrLen.sh UsageMonthToNumeric.sh [ -p ] "Month in Three or More Letters" Examples: MonthToNumeric.sh January Chieh Cheng
Add Comment
|
Related Links
|
TrackBack
Did your message disappear? Read the Forums FAQ. TrackBackTrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites. Send Ping | TrackBack URL | Spam Control Title: Number To Month String (GPL) Add CommentSpam Control | * indicates required field Messages, files, and images copyright by respective owners. |
Products
|
Services
32 Users Online
|
Copyright © 1996 - 2024. All Rights Reserved. |