home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!news2me.ebay.sun.com!jethro.Corp.Sun.COM!oogoody!tmhoff
- From: tmhoff@oogoody.Corp.Sun.COM (Todd Hoff)
- Newsgroups: comp.unix.shell
- Subject: seding with variables and /s question
- Date: 12 Sep 1992 22:01:33 GMT
- Organization: Sun Microsystems, Inc.
- Lines: 8
- Distribution: world
- Message-ID: <lb4q5tINNaef@jethro.Corp.Sun.COM>
- Reply-To: tmhoff@oogoody.Corp.Sun.COM
- NNTP-Posting-Host: oogoody.corp.sun.com
-
-
- I'm having a hard time using variables to specify search patterns containind /s
- in sed. Say my home development directory path is in $DEVEL and my destination
- path is in $DEST. Since these are path specifications they contain /s and when
- I do something like: sed -e 's/$DEVEL/$DEST/' $file > $destfile
- sed barfs on the /s. I've tried lots of variations. Any clues?
-
- Thanx
-