I have a script with:
X=(1 2 3)
X+=(4 5 6)
print ${X[*]}
sh script.ksh results in: Unable to initialize device PRN.
What's the deal?
BTW, I'm using the latest Cygwin on Windows 7.
---John
Is MKSH easily available on Macs (a.k.a., OS X)? I have some kids at
college (with MacBook Air) that are interested BUT the easier it is to
install the better. They're not going to be interested in building it
from source + a cmake.
---John
$(whence -p rename) .cpp .cc *.cpp
Works like a charm. Thanks!
---John
On Wed, May 1, 2013 at 6:11 PM, Thorsten Glaser t...@mirbsd.de wrote:
John Chludzinski dixit:
In Cygwin/bash 'rename' is available:
$ rename .cpp .cc *.cpp
You probably installed some tool that runs as /usr/bin/rename