RE: Join command fails to output fields on input file with DOS line endings.

2019-07-23 Thread Andy Hall
> On 7/22/2019 12:59 PM, Eliot Moss wrote: > On 7/22/2019 12:50 PM, Andy Hall wrote: > > This behavior of join surprised me: > > > > $ join -1 3 <(echo a b col3 c d | unix2dos) <(echo col3 f2 f3 f4 f5) > > f2 f3 f4 f5 > > > > Join parse

Join command fails to output fields on input file with DOS line endings.

2019-07-22 Thread Andy Hall
This behavior of join surprised me: $ join -1 3 <(echo a b col3 c d | unix2dos) <(echo col3 f2 f3 f4 f5) f2 f3 f4 f5 Join parses the input line well enough to execute the join, but the presence of the DOS line endings suppresses the output of fields from the first input. Compare with $

RE: [ANNOUNCEMENT] Updated: mintty 2.9.4

2018-11-13 Thread Andy Hall
> -Original Message- > From: cygwin-ow...@cygwin.com On Behalf Of Thomas > Wolff > Sent: Tuesday, November 13, 2018 12:08 AM > To: cygwin@cygwin.com > Subject: Re: [ANNOUNCEMENT] Updated: mintty 2.9.4 > > Am 12.11.2018 um 22:50 schrieb Andrey Repin: > > Greetings, Thomas Wolff! > > > >>

Bash seg faulting?

2017-06-02 Thread Andy Hall
Here is some more information The sequence: Andy@Andy-Work ~ $ export OFFICE_BIN="C:\Program Files (x86)\Microsoft Office\root\Office16" $ strace "$OFFICE_BIN"/Wordconv.exe -oice -nme "Post-Install.doc" "Post-Install.docx" >strace.out Segmentation fault $ echo $? 139 Produces the attached

RE: Bash seg faulting?

2017-06-02 Thread Andy Hall
On 1 June Doug Henderson wrote: > > On 1 June 2017 at 18:01, Andy Hall wrote: > > > > Here is a strange one. I have two scripts, conv.sh and conv.bat that do > > the same thing: scan the current directory for > > .doc files and convert them to .docx fi

Bash seg faulting?

2017-06-01 Thread Andy Hall
Here is a strange one. I have two scripts, conv.sh and conv.bat that do the same thing: scan the current directory for .doc files and convert them to .docx files. Here are the two scripts. $ cat conv.sh #!/bin/bash OFFICE_BIN="C:\Program Files (x86)\Microsoft Office\root\Office16" for doc

RE: unzip, find broken by auto handling of .exe file extension

2016-09-12 Thread Andy Hall
> From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of > Stephen Anderson > Sent: Monday, September 12, 2016 4:31 PM > To: cygwin@cygwin.com > Subject: Re: unzip, find broken by auto handling of .exe file extension > > > > On Sep 12, 2016, at 4:53 PM, Marco Atzeri

RE: Simple .cmd file works under Cygwin but not Window's cmd interpreter.

2016-03-07 Thread Andy Hall
ry puzzled, Andy Hall > Greetings, Andy Hall! > > > This is a puzzle that I have not been able to sort out despite trying all > > sorts of variations. Basically, I maintain a bunch of Crystal Reports based > > on Crystal reports XI R2. Sorry, I have no choice there. >

Simple .cmd file works under Cygwin but not Window's cmd interpreter.

2016-03-05 Thread Andy Hall
registry setting. I am at a loss,   Does anybody have an idea?   BTW, I would have expected the reverse to be the case:  works in Windows but not Cygwin.  Andy Hall -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

RE: getaddrinfo fails with EAI_NODATA for some valid hosts with A records

2016-01-13 Thread Andy Hall
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of > Brian Inglis > Sent: Wednesday, January 13, 2016 12:14 AM > To: cygwin@cygwin.com > Subject: Re: getaddrinfo fails with EAI_NODATA for some valid hosts with A > records > > Corinna

RE: getaddrinfo fails with EAI_NODATA for some valid hosts with A records

2016-01-08 Thread Andy Hall
> > On Jan 8 13:44, cyg Simple wrote: > > On 1/8/2016 6:14 AM, Corinna Vinschen wrote: > > > $ ./gai leapsecond.utcd.org > > > ret = 11004 > > > > > > I have no idea why Windows' getaddrinfo chokes on leapsecond.utcd.org > > > at all. > > > > utcd.org doesn't resolve for me. So getaddrinfo has

RE: Unable to run excel via cron

2015-06-24 Thread Andy Hall
On 06/23/2015 09:39 AM, Kertz, Denis (D)** CTR ** wrote: I changed the cron setup to use cygserver as Corinna suggested. I used cron-config and cygserver-config to setup the cron and cygserver services and passwd -R to establish my password. Normal cron jobs run under this setup but

RE: Unable to run excel via cron

2015-06-17 Thread Andy Hall
-Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Kiehl, Horst Sent: Wednesday, June 17, 2015 8:10 AM To: Kertz, Denis (D)** CTR **; cygwin@cygwin.com Subject: RE: Unable to run excel via cron (Trying to remove TOFU to make the

RE: Odd ezmlm warning messages from this list

2015-01-29 Thread Andy Hall
I sometimes get these as well. My e-mail address is @ comcast dot net. So it's a problem contacting the Comcast mail servers, but it should be recoverable. Andy Hall Fixpertise Consulting -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf

RE: Testers needed: New passwd/group handling in Cygwin

2014-03-03 Thread Andy Hall
On Mar 2 14:20, Frank Fesevur wrote: 2014-02-28 22:08 GMT+01:00 Corinna Vinschen: That's not really a problem but a case of it is as it is. To get the user and group info, Cygwin has to contact the DC and/or GC and then runs into a timeout. Right now, the LDAP timeout is set to 3

RE: Little cygpath improvement request

2014-02-16 Thread Andy Hall
On Sun, Feb 16, 2014 at 12:30 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote if [ ! -z $2 ] ; then NATIVE=$(cygpath -ml $2) ; fi That might better be written as this [ $2 ] NATIVE=$(cygpath -ml $2) You do not need the extra quotes when setting a variable in this way. Goodness. If

RE: BUG: Ability to access nonexistent directories

2013-05-20 Thread Andy Hall
breaking up the path to locate possible symbolic links, missing directories or deal with other special cases? Andy Hall -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info

RE: tar won't extract all files when a file with exe extension precedes the same without extension inside the archive

2012-07-13 Thread Andy Hall
2. Since this is a Windows thing, is there some reason why the execution of file or file.exe isn't handled as a special case in the exec call (and all its flavors) and no place else? make, for example? If you have a rule that creates foo from foo.c, gcc will actually create foo.exe.

RE: tar won't extract all files when a file with exe extension precedes the same without extension inside the archive

2012-07-12 Thread Andy Hall
. Andy Hall -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

RE: Cygwin for Fedora?

2012-03-10 Thread Andy Hall
Andy Hall -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

RE: Portable shell code between Cygwin and Linux

2011-08-03 Thread Andy Hall
to be portable. Andy Hall -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

File name completion broken in 1.7.7?

2010-11-05 Thread Andy Hall
I have recently upgraded to 1.7.7 from 1.5.X. In 1.5.X, it used to be that in bash I could type lines like P4 edit hydra_c and hit the tab key to complete the file name. A command like p4 edit hydra_config would be then executed. In 1.7.7, when I type P4 edit

RE: File name completion broken in 1.7.7?

2010-11-05 Thread Andy Hall
On 11/5/2010 David Rothenberger wrote: On 11/5/2010 10:13 AM, Andy Hall wrote: I have recently upgraded to 1.7.7 from 1.5.X. In 1.5.X, it used to be that in bash I could type lines like P4 edit hydra_c and hit the tab key to complete the file name. A command like p4

RE: In what way is /cygdrive special WRT to permissions?

2010-10-18 Thread Andy Hall
, Andy Hall wrote: If instead, I map F: to /cygdrive/c with the following entry in /etc/fstab F: /cygdrive/f smbfs binary,noacl 0 0 mount shows $ mount C:/cygwin/bin on /usr/bin type ntfs (binary,auto) C:/cygwin/lib on /usr/lib type ntfs (binary,auto) C:/cygwin on / type

RE: In what way is /cygdrive special WRT to permissions?

2010-10-06 Thread Andy Hall
this to somebody else more qualified. Cheers, Andy On Oct 6 1:48 Corinna Vischen wrote: On Oct 5 15:40, Andy Hall wrote: If instead, I map F: to /cygdrive/c with the following entry in /etc/fstab F: /cygdrive/f smbfs binary,noacl 0 0 mount shows $ mount C:/cygwin/bin

RE: In what way is /cygdrive special WRT to permissions?

2010-10-06 Thread Andy Hall
of //vega/repository is the workaround I eventually settled on. Andy On Oct 6 12:43, Corinna Vischen wrote: On Oct 6 13:19, Andy Hall wrote: Notice that the test -w /cygdrive/f/builds reports that /cygdrive/f/builds is not writeable, yet you can create and write files in /cygdrive/f

In what way is /cygdrive special WRT to permissions?

2010-10-05 Thread Andy Hall
I have a vanilla 1.7.7 installation on Windows XP Professional which is a standalone machine not in a domain. The /etc/passwd and /etc/group files have been refreshed from scratch. The system has a remote file system (Samba) mounted as F: via the normal Windows mechanism for mapping network

1.5 to 1.7 upgrade.

2010-10-04 Thread Andy Hall
any mount points to begin with. I don't particularly want to ask the sys admins to upgrade Samba and am looking for a workaround. Any help would be appreciated. Andy Hall -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation

1.5 to 1.7 upgrade.

2010-10-04 Thread Andy Hall
mount points to begin with. I don't particularly want to ask the sys admins to upgrade Samba and am looking for a workaround. Any help would be appreciated. Andy Hall -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation

RE: GREP: Memory Exhausted

2009-04-15 Thread Andy Hall
is handled differently. If you watch memory consumption on windows while grep is running, it remains flat for about 30 seconds and then starts growing in sizeable chunks until it fails. And BTW, there was an earlier version of grep that worked but I have since lost the version number. Andy Hall

Bash sometimes writes to stdout in MS_DOS format.

2009-03-10 Thread Andy Hall
-UX without a problem. There are only a few things which are platform dependent. I can of course inject a work-around if the script is running in the cygwin environment. I am wondering if anybody has any plausible explanation for this. Andy Hall -- Unsubscribe info: http://cygwin.com/ml

A question about cygstart

2009-01-14 Thread Andy Hall
invocation of the same command will bring up the window maximized. No combination of options to cygstart seems to overcome this.   What other approaches are available. Andy Hall ServicePower, Inc. 744 San Antonio Road Phone: (650) 739-0988 E-Mail: a.h...@servicepower.com -- Unsubscribe info

Re: Strange permissions problems running bash scripts from ssh

2008-09-16 Thread Andy Hall
If I ssh into the same cygwin account from a remote machine, and perform the identical test, that is, changing directory to a directory in F:, then run echo test zap fails with permission denied. I am sure is some weird problem with NT permissions or the account under which the sshd is run, but I

Strange permissions problems running bash scripts from ssh

2008-09-15 Thread Andy Hall
I have a very strange permission problem with running bash scripts on a Wndows server (2000) from a remote Linux box. Here's the scenario. The Windows Server where the bash scripts are run has a remote file system mounted as F: The file system mounted is from a samba server. When the drive is

Re: fork: Resource temporarily unavailable

2006-10-20 Thread Andy Hall
The answers to Larry Hall's questions on my original posting are below. Andy Hall wrote: It seems that somewhere between cygwin 1.5.19-4 and 1.5.21-2 some change was made that causes this error. I have a bash script that is used to create a number of client processes that run in parallel

fork: Resource temporarily unavailable

2006-10-19 Thread Andy Hall
It seems that somewhere between cygwin 1.5.19-4 and 1.5.21-2 some change was made that causes this error. I have a bash script that is used to create a number of client processes that run in parallel and generate TCP/IP conversations with a remote server being tested This script can configure

RE: Upgraded man command

2004-11-24 Thread Andy Hall
when I was having the problem. All is well now. Andy -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 8:32 AM To: Andy Hall Cc: [EMAIL PROTECTED] Subject: RE: Upgraded man command Andy, Do you have both /etc/postinstall/man.sh

Upgraded man command

2004-11-23 Thread Andy Hall
I updated my cygwin system on my W2K SP4 systemto the latest release of cygwin and the man command started to display man pages as follows: ESC[1mNAMEESC[0m ln - make links between files ESC[1mSYNOPSISESC[0m ESC[1mln ESC[22m[ESC[4mOPTIONESC[24m]... ESC[4mTARGETESC[24m

RE: Upgraded man command

2004-11-23 Thread Andy Hall
Igor - Thanks for the reply. This is a complete mystery to me. See answers to your questions below. Andy -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 9:46 AM To: Andy Hall Cc: [EMAIL PROTECTED] Subject: Re: Upgraded man command

RE: Upgraded man command

2004-11-23 Thread Andy Hall
to man.conf, ensured the options matched yours and it now works. Go figure. Thanks for the help. Andy -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 1:22 PM To: Andy Hall Cc: [EMAIL PROTECTED] Subject: RE: Upgraded man command On Tue