AW: Feature request

2015-05-27 Thread Alexander.Elgert
Maybe you want to read my posting with the title:

"""bash functions with [\.-] function/method name   parser"""

It works pretty well, as long as you do not use dots or dashes in your function 
names.
Unluckily, there was no response so far on the doxygen list. ;(

Regards,
Alexander

On 5/14/15 10:21 AM, r...@som.pdp10.guru wrote:
> Dear Bash developers,
> In effort to create better commented code, I have run across the following 
> missing bit of functionality:
> No block comments

Thanks for the suggestion.  I don't see this as being worth the
development effort.



AW: List out

2016-02-15 Thread Alexander.Elgert
> -Ursprüngliche Nachricht-
> Von: bug-bash-bounces+alexander.elgert=external.t-systems@gnu.org
> [mailto:bug-bash-bounces+alexander.elgert=external.t-
> systems@gnu.org] Im Auftrag von Allodoxaphobia
> Gesendet: Montag, 15. Februar 2016 19:13
> An: gnu-bash-...@moderators.individual.net
> Betreff: Re: List out
> 
> On Mon, 15 Feb 2016 08:19:37 -0500, Greg Wooledge wrote:
> > On Sun, Feb 14, 2016 at 03:02:58AM +, Allodoxaphobia wrote:
> >> err... u... What's your *bash bug* ???
> >
> > I think what he meant to say is, "Questions of this type should be
> > sent to help-b...@gnu.org instead of bug-bash@gnu.org."
> >
> > Now... you've been given a Python solution, and I could write one in
> > Tcl or Perl as well.  Using pure bash for this task would be an
> utterly
> > poor choice, for performance reasons.
> >
> > The closest thing to a pure bash answer you can get, that would
> actually
> > be viable in real life, would be one using awk.
> >
> > awk '
> >   {
> > n=0
> > label=$2
> > for (i=3; i<=NF; i++) {
> >   if ($i == "NA") n++
> > }
> > print NR ".", label, n
> >   }
> > ' "$file"
> 
> Remeber to _always_ reply to homework assignments with
> the most advanced and obscure solutions so as to make
> the teacher/professor say "WHAT THE HELL...?!?!?!"


while read h x; do y=${x//NA/N}; echo "$h $((${#x}-${#y}))"; done


-- 
Deutsche Telekom AG
Seamless ICT Security Infrastructure & Management im Auftrag T-Systems 
International GmbH
Dipl. Inf Alexander Elgert Langwadener Strasse 17 64625 Bensheim
+49 176 22 717 661 (Mobil)
+49 671 9683-12 (Tel)
+49 671 9683-30 (Fax)
E-Mail: alexander.elg...@gmx.de