From unknown Thu Aug 14 17:25:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8511 <8511@debbugs.gnu.org> To: bug#8511 <8511@debbugs.gnu.org> Subject: Status: Sort error in makefile Reply-To: bug#8511 <8511@debbugs.gnu.org> Date: Fri, 15 Aug 2025 00:25:46 +0000 retitle 8511 Sort error in makefile reassign 8511 coreutils submitter 8511 Harpal Shergill severity 8511 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 16 15:25:21 2011 Received: (at submit) by debbugs.gnu.org; 16 Apr 2011 19:25:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBB7Q-0007Bi-TY for submit@debbugs.gnu.org; Sat, 16 Apr 2011 15:25:21 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBAsX-0006qC-Fx for submit@debbugs.gnu.org; Sat, 16 Apr 2011 15:09:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QBAsR-0002l8-EI for submit@debbugs.gnu.org; Sat, 16 Apr 2011 15:09:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:42935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBAsR-0002l4-Cp for submit@debbugs.gnu.org; Sat, 16 Apr 2011 15:09:51 -0400 Received: from eggs.gnu.org ([140.186.70.92]:48786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBAsQ-0005ye-Iw for bug-coreutils@gnu.org; Sat, 16 Apr 2011 15:09:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QBAsP-0002kn-Ox for bug-coreutils@gnu.org; Sat, 16 Apr 2011 15:09:50 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:60256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBAsP-0002kj-MX; Sat, 16 Apr 2011 15:09:49 -0400 Received: by vws4 with SMTP id 4so3730280vws.0 for ; Sat, 16 Apr 2011 12:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=2cqOpKb5B2t9U2ycuSg5pNv2l8PUQqnlB0v8IkpgOxY=; b=UCxUx0JSK1LKvCFGvFgW0m0kyTZ8wpuqa4lc565tRa5r/D6s9OLQYz0CnhU3V0rzrW 6IDhVwbF6rqmviyeX8eASAgXMFyoUrTpHYE+4Lu5atJFRQ9F4s/1DvNAxqn236kTSsNQ NJftmVOEQV3MgwEEBZAH9m0Ip5J/wC3FWYyvU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=xR1HxWn+Lu9VtdR6xCMy5yEN7Z/TsZ2HSkpJv8htkBL28zMrnohDHi0Uaxs0HQ31zz PBsEDUaISOLWi/ONnzeG6AfD0SsrPcr5A17qLARw+350c+EGN6J1LfLnRvlqv8BQ0b2q sKQ23Zo+BIMPyUWyXaeUYV6YcUe6iZChFfXA0= Received: by 10.220.5.129 with SMTP id 1mr902476vcv.169.1302980989150; Sat, 16 Apr 2011 12:09:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.71.85 with HTTP; Sat, 16 Apr 2011 12:09:29 -0700 (PDT) From: Harpal Shergill Date: Sat, 16 Apr 2011 15:09:29 -0400 Message-ID: Subject: Sort error in makefile To: bug-coreutils@gnu.org, bug-gzip@gnu.org, cygwin@cygwin.com Content-Type: multipart/alternative; boundary=0022152d7e9301e82704a10de710 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 16 Apr 2011 15:25:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --0022152d7e9301e82704a10de710 Content-Type: text/plain; charset=ISO-8859-1 Hello, I have a makefile which does the following: 1. grab a .gz file from server using wget -- works fine 2. extract the data from .gz file to new file based on filter using ZCAT -- works fine 3. sort the data from based on specific field and saves the data into a new file -- DOES NOT WORK - command looks like this: sort -t: -k2n outputFile - this command works perfectly on command line of cygwin BUT fails through makefile - Error says: Input file specified two times. I tried to search on this online but couldn't get any info. Can you please help and show me what's wrong? In make file i have this command enclosed with "`" character. Any feedback on this would be greatly appreciated. Thank you. Harpal --0022152d7e9301e82704a10de710 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

I have =A0a makefile which does the following:
  1. grab a .gz file from server using wget -- works fine
  2. extract the data from .gz file to new file based on filter using ZCAT -- = works fine
  3. sort the data from based on specific=A0field=A0and saves the data into = a new file -- DOES NOT WORK
  • command looks like this: sort = -t: -k2n <inputFile> outputFile
  • this command works perfectly = on command line of cygwin BUT fails through makefile
  • Error says: Input file specified two times.
I tried to se= arch on this online but couldn't get any info. Can you please help and = show me what's wrong? In make file i have this command enclosed with &q= uot;`" character. Any feedback on this would be greatly=A0appreciated.= =A0

Thank you.

Harpal
--0022152d7e9301e82704a10de710-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 16 18:45:08 2011 Received: (at 8511) by debbugs.gnu.org; 16 Apr 2011 22:45:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBEEm-0003A1-Hy for submit@debbugs.gnu.org; Sat, 16 Apr 2011 18:45:08 -0400 Received: from c-67-162-90-113.hsd1.in.comcast.net ([67.162.90.113] helo=kosh.dhis.org) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QBEEk-00039J-EY for 8511@debbugs.gnu.org; Sat, 16 Apr 2011 18:45:07 -0400 Received: (qmail 13628 invoked by uid 1000); 16 Apr 2011 22:45:00 -0000 Message-ID: <20110416224500.13627.qmail@kosh.dhis.org> From: "Alan Curry" Subject: Re: bug#8511: Sort error in makefile To: harpalshergill@gmail.com (Harpal Shergill) Date: Sat, 16 Apr 2011 17:45:00 -0500 (GMT+5) In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 8511 Cc: 8511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.6 (/) Harpal Shergill writes: > > Hello, > > I have a makefile which does the following: > > 1. grab a .gz file from server using wget -- works fine > 2. extract the data from .gz file to new file based on filter using ZCAT > -- works fine > 3. sort the data from based on specific field and saves the data into a > new file -- DOES NOT WORK > > > - command looks like this: sort -t: -k2n outputFile > - this command works perfectly on command line of cygwin BUT fails > through makefile > - Error says: Input file specified two times. > > I tried to search on this online but couldn't get any info. Can you please > help and show me what's wrong? In make file i have this command enclosed > with "`" character. Any feedback on this would be greatly appreciated. Your makefile is running the DOS/Windows sort command instead of the GNU/cygwin sort. Use a full path like /whatever/cygwin/bin/sort to make it use the right one. cygwin's bug, if a bug at all... -- Alan Curry From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 17 02:27:27 2011 Received: (at 8511-done) by debbugs.gnu.org; 17 Apr 2011 06:27:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBLSB-0004eE-LC for submit@debbugs.gnu.org; Sun, 17 Apr 2011 02:27:27 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBLS9-0004e0-Ll for 8511-done@debbugs.gnu.org; Sun, 17 Apr 2011 02:27:26 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 1F8856012A; Sun, 17 Apr 2011 08:27:18 +0200 (CEST) From: Jim Meyering To: "Alan Curry" Subject: Re: bug#8511: Sort error in makefile In-Reply-To: <20110416224500.13627.qmail@kosh.dhis.org> (Alan Curry's message of "Sat, 16 Apr 2011 17:45:00 -0500 (GMT+5)") References: <20110416224500.13627.qmail@kosh.dhis.org> Date: Sun, 17 Apr 2011 08:27:17 +0200 Message-ID: <87bp05gzp6.fsf@rho.meyering.net> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: 8511-done Cc: 8511-done@debbugs.gnu.org, Harpal Shergill X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) tags 8511 notabug close 8511 thanks Alan Curry wrote: ... > Your makefile is running the DOS/Windows sort command instead of the > GNU/cygwin sort. Use a full path like /whatever/cygwin/bin/sort to make it > use the right one. > > cygwin's bug, if a bug at all... Hi Alan, Thanks for replying. I'm closing this issue. From unknown Thu Aug 14 17:25:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 15 May 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator