delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/26/01:10:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Originating-IP: [203.152.134.5]
X-Originating-Email: [vm6580 AT hotmail DOT com]
From: "Vikram Mehta" <vm6580 AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Cc: <uclinux-dev AT uclinux DOT org>
Subject: env :xargs no such file or directory
Date: Mon, 26 May 2003 10:37:50 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <Law14-OE51uTeC1oOJe0000e3e8@hotmail.com>
X-OriginalArrivalTime: 26 May 2003 05:07:26.0913 (UTC) FILETIME=[B3488B10:01C32344]

Hi fellas,

Thanx for the help till now

One thing
I am on  cygwin
If the code of given below script is run , I get an error
env: xargs no such file or directory found
This error comes form the last line of the code.

f [ -f "$$ROMFSDIR/bin/busybox" ]; then \
 inode=`ls -i $$ROMFSDIR/bin/busybox | awk '{print $$1}'`; \
 ls -i "$$ROMFSDIR/bin" | grep "^ *$$inode" | awk '{print $$2}' | \
  sed "s:^:$$ROMFSDIR/bin/:" | env -i xargs rm -f; \
fi
 
What I cannot understand is what is the phrase 
env -i xargs rm -f doing.

What may be the reason for the error and how canI remove it

env works 
and xargs also works but this does not work

Y?

VikRAM

i

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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