*BSD News Article 35306


Return to BSD News archive

Xref: sserve comp.unix.user-friendly:2838 comp.unix.solaris:22249 comp.unix.programmer:19748 comp.unix.misc:13759 comp.unix.aux:15322 comp.unix.bsd:14813 comp.unix.aix:43536
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!paladin.american.edu!gatech!howland.reston.ans.net!cs.utexas.edu!uunet!haven.umd.edu!nova.umd.edu!nova!rockwell
From: rockwell@nova.umd.edu (Raul Deluth Miller)
Newsgroups: comp.unix.user-friendly,comp.unix.solaris,comp.unix.programmer,comp.unix.misc,comp.unix.aux,comp.unix.bsd,comp.unix.aix
Subject: Re: xargs and alias commands
Followup-To: comp.unix.user-friendly,comp.unix.solaris,comp.unix.programmer,comp.unix.misc,comp.unix.aux,comp.unix.bsd,comp.unix.aix
Date: 30 Aug 1994 17:08:19 -0400
Organization: University of Maryland University College
Lines: 13
Distribution: inet
Message-ID: <ROCKWELL.94Aug30170818@nova.umd.edu>
References: <33af70$8rd@usenet.INS.CWRU.Edu> <33e3kt$i1i@wombat.cssc-syd.tansu.com.au>
	<CHRISB.94Aug29144419@wombat.cssc-syd.tansu.com.au>
	<34022k$4lu@news.cerf.net>
NNTP-Posting-Host: nova.umd.edu
In-reply-to: jsm@mitekgold1's message of 30 Aug 1994 19:42:12 GMT

Shane McRoberts:
.  setenv.  This one bugs me.  Is there any way in sh/ksh/bash to set
.  an exported variable in a single command?  How about listing only
.  exported or non-exported variables?

export FOO=3
sh -c 'set'

-- 
Raul D. Miller           n =: p*q             NB. 9<##:##:n [.large prime p, q
<rockwell@nova.umd.edu>  y =: n&|&(*&x)^:e 1  NB. -.1 e.e e.&factors<:p,q [.e<n
                         NB.  public e, n, y
                         x -: n&|&(*&y)^:d 1  NB. 1=(d*e)+.p*&<:q