[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ly2dvi --Fix for bash shell problem with latex and /dev/stderr

From: Dave . Hein
Subject: ly2dvi --Fix for bash shell problem with latex and /dev/stderr
Date: Sat, 23 Aug 2003 11:31:53 -0500

I'm using GNU LilyPond 1.8.0 on CygWin 1.5.2 with GNU bash, version
2.05b.0(12)-release (i686-pc-cygwin).

In a bash shell, ly2dvi fails with the following error:

    cannot create /dev/stderr: directory nonexistent 

I resolved this by modifying ly2dvi as follows:

    # DTH remove:   cmd += ' 1>/dev/stderr'
    cmd += ' 1>&2'    # DTH replace

The issue is that BASH doesn't actually have a /dev/stderr, at least not
under CYGWIN.

Note that the changed line should work under Bourne, bash, ash, and Korn
shells.  Don't know about cshell.

Dave Hein

reply via email to

[Prev in Thread] Current Thread [Next in Thread]