[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OT: sed help
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: OT: sed help
- From: "James A. Peltier" <james_(_at_)_site-fx_(_dot_)_net>
- Date: 04 Jun 2002 15:17:18 -0700
sorry for this OT question regarding sed.
I'm trying to take command line user input and pipe it to sed for
parsing. currently i have this
[joshua:] vi test
echo $VALUE1 $VALUE2 > text.tmp
sed 's/$VALUE1/$VALUE2/' text.tmp > textfile
for some reason this doesn't work when I try
[joshua:] sh test test1 test2
any ideas why? I'm certainly no sed expert as many can see. What would
be the easiest way to implement this?