[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bash manual/info lacks examples



Hello,

every time I read the bash manual to get help I'm missing
examples for the basic usage of a builtin.  For instance
I managed to write a simple shell script with a loop which
increased a variable

i = 0;
while [ $i -lt $MAX ] ; do
  echo $i
  let ...
done

But I havn't my small loop script handy this time and wanted
to know the syntax of let using `man bash` or `info bash`.
I'm I stupid or what is the reason that I can't find out, how
this expression after let has to be formed?

It is the same with the other bash features.  The manual is
IMHO very abstract and gives less practical help.  So I would
like to suggest to beg the programmers to add some examples
for better reading.

By the way could someone please enlighten my how to form the
expression.

Kind regards

        Andreas.


Reply to: