Weblog entry #2 for uroboros

Scripting, scripting, scripting ...
Posted by uroboros on Sat 8 Oct 2005 at 13:49
Tags: none.
Argh... I realised to program quite difficult BASH-only script. I do not want to use any other tools, instead of one or two usages of the `echo' program. Quite funny if you are writing parsing program and commandline options parsing functions in pure BASH, isnt't it? :)

 

Comments on this Entry

Posted by uroboros (84.42.xx.xx) on Fri 14 Oct 2005 at 20:00
[ Send Message | View Weblogs ]

The whole week was quite annoying, but at lof of problems were sold. No, on weekend, I hope I will write one very useful and not very simple pure BASH script for parsing script parameters that could be group to some higher level "groups" of parameters.

An could be as follows:

script -A foo -a bar1 -b bar2 -c bar3 bar4 -B foo2 foo3 -a bar5 -b bar6 -d bar7 bar8

The difference from "normal" optioning is that I will be able to use the same options -a or -b in differenct groups of options -A or -B with absolutely different meaning. Well. This is really quite hard to write in pure BASH. So wish "good luck" to me. :)

--
If you're smart enough to ask this question, you're smart enough to RTFM and find out yourself.

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search