On 30 Jul 2005, at 04:27, Dave Vasilevsky wrote:
Yeah, we could remove leading whitespace from all heredocs. I can't think of anything that's really whitespace-dependent and would therefore break.
PatchScript: << #!/bin/sh -ev sed -i '/regex/i\ \tbar1\ \tbar2' foo/Makefile.in << or for a multiline substitution, I see that with /usr/bin/sed one can't use \n, but has to put the newline explicitly, preceded by a backslash. Similar pitfalls can occur in other fields: maybe every heredoc starting with "#!" should be exempted... JF Mertens ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Fink-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-devel
