opensubscriber
   Find in this group all groups
 
Unknown more information…

s : solaris-users@filibeto.org 11 August 2010 • 2:47PM -0400

Re: [Solaris-Users] setenv:too many arguments?
by hadi motamedi

REPLY TO AUTHOR
 
REPLY TO GROUP




On Wed, Aug 11, 2010 at 11:07 AM, Romeo Ninov <rninov@gmai...> wrote:

> for example this command:
>  ls |xargs  grep -l inst
> will list the files and execute grep with parameter inst i.e. search
> for keyword inst on list of the files, provided by ls command
> And the result will be:
> [root@vmlinux ~]# ls |xargs  grep  -l inst
> anaconda-ks.cfg
> install.log
> S98postkickstart-ori
> S99post_oracle-ori
>
>
> Please find below my case :
$grep setenv ./subs_mgmt
setenv SMGUIROOT 'pwd'
setenv TCL_LIBRARY ../lib/tcl8.0
setenv TK_LIBRARY ../lib/tk8.0
setenv PATH ${PATH}:/usr/sbin:/usr/etc:.
setenv SM_SERVER_PORT 2120
$./subs_mgmt
setenv:Too many arguments
Can you please let me know how can I use 'xargs' to solve my problem?
_______________________________________________
Solaris-Users mailing list
Solaris-Users@fili...
http://www.filibeto.org/mailman/listinfo/solaris-users

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.