Hello all,
I have a 4 line bash script:
#!/bin/bash
alias nawk=gawk
alias nawk
nawk 'BEGIN {FS="^"} ; (length($0) > maxline) { maxline = length($0) ;
line=$0} ; END{print maxline, line}' $*
When I run the script I see:
alias nawk='gawk'
/cygdrive/c/mybin/maxline/: line 4: nawk: comm
On 8/21/2017 6:30 PM, Michel LaBarre wrote:
> Hello all,
>
> I have a 4 line bash script:
> #!/bin/bash
> alias nawk=gawk
> alias nawk
> nawk 'BEGIN {FS="^"} ; (length($0) > maxline) { maxline = length($0) ;
> line=$0} ; END{print maxline, line}' $*
>
>
> When I run the script I see:
>
On Mon, Aug 21, 2017 at 06:30:15PM -0400, Michel LaBarre wrote:
> Hello all,
>
> I have a 4 line bash script:
> #!/bin/bash
> alias nawk=gawk
> alias nawk
> nawk 'BEGIN {FS="^"} ; (length($0) > maxline) { maxline = length($0) ;
> line=$0} ; END{print maxline, line}' $*
>
>
> When I run the
Rats! You are right. Thank you so much Duncan and Eliot (both for the
information and the tactful tone :-) ).
I will review shopt - I had been only looking at "set" for relevant
options.
> -Original Message-
> From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On
> Behalf
On Sun, 20 Aug 2017 19:45:30, Steven Penny wrote:
On Sun, 20 Aug 2017 18:57:24, Steven Penny wrote:
> Question - is mingw64-x86_64-gcc-g++ still coming? I have come C++ projects I
> could test it with.
Correcting myself; looks like the Aug 20 update includes C and C++:
http://cygwin.mirror.cons
5 matches
Mail list logo