Check in this file for very long line: subs_mgmt On Wed, Aug 11, 2010 at 8:47 AM, hadi motamedi <[email protected]> wrote: > On Wed, Aug 11, 2010 at 11:07 AM, Romeo Ninov <[email protected]> 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: >> [r...@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 > [email protected] > http://www.filibeto.org/mailman/listinfo/solaris-users >
-- Regards: Romeo Ninov _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
