From: Seebs Date: 2009-12-30T10:10:05+09:00 Subject: Re: How to avoid \ escaping when using "= <<-EOF" ? On 2009-12-30, I�aki Baz Castillo wrote: > How could I avoid the "\" scaping so the text appears verbatim? > Thanks a lot. If any part of the listed modifier for the here document is quoted, the here document acts like single quotes: cat <<-'EOF' foo\bar$baz EOF => foo\bar$baz (Note that the stripping of whitespace from the '-' still takes effect.) -s -- Copyright 2009, all wrongs reversed. Peter Seebach / usenet-nospam@seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!