On Thursday 23 April 2009 14:18:12 Jacek Konieczny wrote: > As they do not remember exact syntax and would have to look it up? ;) > As it looks uglier? As it needs more characters (two apostrophes instead > of one backslash)?
because you can then embed the real script (update the spec with it), without need to re-escape things (seen too many mistakes in this interpolation not-escaping area). heredoc quick howto: 1. <<EOF text is interpolated 2. <<'EOF' text is not interpolated 3. <<-EOF text is interpolated, leading indent is removed 4. <<-'EOF' text is not interpolated, leading indent is removed NOTE: when leading indent is removed (#3 and #4), the closing EOF can be indented itself too. -- glen _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
