How can I get data from an environment variable in sed SCRIPT FILE? (under MS-DOS, not UNIX)
[email protected] Thu, 23 Oct 2008 22:57:43 -0700 (PDT)
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <599e8ce9-540b-4c30-9d50-accc29545ff9@f40g2000pri.googlegroups.com> |
I'm using GNU SED for windows
and made a batch file like this...
Set myTemp_Value="Hello world"
SED -n -f mySedScript.TXT targetFile.TXT
but...
How can i use DOS Environment variable in SED Script File?
Is there no way to use myTemp_Value in mySedScript.TXT ??
as far as i know, an environment variable is available in unix.