>To: plank@cs.utk.edu >Subject: Incorporating Shell Variables within a SED script > >Is it possible to incorporate Shell variables within a SED script? Have >tried various escape mechanism's to allow the "$" to be interpreted as a >Shell Variable ... but no luck so far. >-- Not from a script file, but you can from the shell. E.g.: UNIX> echo "jim" | sed "s/jim/$USER/" Jim Plank