delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/20/05:41:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: 1.7.1: /usrb/bin/tail.exe
Date: Wed, 20 Jan 2010 11:40:36 +0100
Message-ID: <889F761889B73C489CED80057EEE29DF032B5AD8@spsmail.prosozial.lokal>
From: "Peter Koch" <Peter DOT Koch AT prosozial DOT de>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi!

Running 1.7.1 on Windows 2008 R2 some of my shell scripts stopped
working.

The culprint is tail.exe

1. tail +N does not work anymore. Obsolete? How can i re-enable this?
2. tail overwrites redirected files!

$ echo "1" > a
$ echo "22" >> a
$ echo "333" >> a
$ cat a
1
22
333
echo "x" > x
$ tail -1 a >> x
$ cat x
333

Notice, that the first line of x (containg one x) is gone!

Ciao

Peter

prosozial GmbH
Geschaeftsfuehrer: Wolfgang Hoffmann, Stephan Idel, Christoph Spitzley
Amtsgericht Koblenz, HRB 5796

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019