Re: Direct/efficient way to chop off trailing \n

2014-10-02 Thread Andrey Repin
Greetings, Paul.Domaskis! > Andrey Repin wrote: >> Most people either use Cygwin tools in isolation, or use Cygwin >> tools from Windows tools. The opposite is rare, and mostly boils >> down to scripting, where you naturally use $(cygpath ...) to produce >> desired results. > Which I find odd. I

Re: Updated: bash-4.1.16-8

2014-10-02 Thread Eric Blake
On 10/02/2014 09:44 PM, Eric Blake (cygwin) wrote: > To avoid confusion, the following test unambiguously tests if you are > vulnerable to ShellShock: > $ env 'x=() { echo vulnerable; }' bash -c x > > If it prints "x: command not found", your version of bash is safe and > not subject to remote ex

[ANNOUNCEMENT] Updated: bash-4.1.16-8

2014-10-02 Thread Eric Blake (cygwin)
A new release of bash, 4.1.16-8, has been uploaded and will soon reach a mirror near you; leaving the previous version at 4.1.14-7. NEWS: = This is a minor rebuild which picks up two upstream patches to fix some parser bugs (CVE-2014-7186, CVE-2014-7187, CVE-2014-6277). These bugs were found a

Re: Direct/efficient way to chop off trailing \n

2014-10-02 Thread Keith Christian
You're welcome, Paul. But I see some streamlining that could be done since I wrote that xx() alias long ago. I do like Barry's "cygpath -aw foo/bar | putclip -d" as it likely runs faster. On Thu, Oct 2, 2014 at 12:20 PM, Paul.Domaskis wrote: > Keith Christian wrote: >> This function echoes the

[ANNOUNCEMENT] Updated: bison-3.0.2-1

2014-10-02 Thread Eric Blake (cygwin)
A new release of bison, 3.0.2-1, has been uploaded and will soon reach a mirror near you; leaving the previous version at 2.7.1-1. NEWS: = This represents a new upstream release, and the first build of bison by a new maintainer. For more details on the upstream changes, see the documentation

Re: Direct/efficient way to chop off trailing \n

2014-10-02 Thread Paul . Domaskis
Keith Christian wrote: > This function echoes the present directory to the clipboard, so that > I don't have to enter the path manually. > > I use this function in a script that sources when a bash shell is > started. Also echoes the path to the terminal for verification. > Handy for pasting dire

[ANNOUNCEMENT] Updated: openmpi-1.8.3-1

2014-10-02 Thread Marco Atzeri
Version 1.8.3.1 of packages libopenmpi libopenmpicxx1 libopenmpifh2 libopenmpiuse1 libopenmpi-devel openmpi are available in the Cygwin distribution: CHANGES This is a upstream bugfix release Full upstream changes: http://svn.open-mpi.org/svn/ompi/branches/v1.8/NEWS http://w

[ANNOUNCEMENT] Updated: slrn-1.0.2-1

2014-10-02 Thread Marco Atzeri
New version 1.0.2-1 has been uploaded. CHANGES This is a upstream bgfix release. full list of changes http://slrn.sourceforge.net/docs/changes.txt DESCRIPTION slrn ('S-Lang read news') is a newsreader, i.e. a program that accesses a newsserver to read messages from the Internet News servic

RE: Direct/efficient way to chop off trailing \n

2014-10-02 Thread Buchbinder, Barry (NIH/NIAID) [E]
Eric Blake sent the following at Wednesday, October 01, 2014 10:33 PM >On 10/01/2014 08:25 PM, Eliot Moss wrote: > >> You could write my solution as: >> >> echo -n `cygpath -aw foo`>/dev/clipboard > >'echo -n' is not portable (in fact, you can disable it in bash, and it >may misbehave if cygpath ou