[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Syntax error near unexpected token `newline' within loops
From: |
Chet Ramey |
Subject: |
Re: Syntax error near unexpected token `newline' within loops |
Date: |
Mon, 24 Apr 2017 16:48:27 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 4/24/17 8:58 AM, Greg Wooledge wrote:
> Seriously, "expr length"?! In a script that is already using bashisms?
That works on Linux, but not on the BSDs, since Posix says it doesn't
have to.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/