Hi,
Nope, those spaces are not important, they are there for readability. The following 2 examples are the same:
Code:
sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|" \
-e "s|INCLUDE\s*= ./zlib-src|INCLUDE = /usr/include|" \
-e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|" \
cpan/Compress-Raw-Zlib/config.in
and
Code:
sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|" \
-e "s|INCLUDE\s*= ./zlib-src|INCLUDE = /usr/include|" \
-e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|" \
cpan/Compress-Raw-Zlib/config.in
The spaces inside the sed command _are_ important!
Code:
Correct:
-e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|"
Not correct:
-e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|"
If at all possible you should copy and paste these larger commands.
Hope this clears things up a bit.