Hi,
I found following lines in the "sed 100 oneliners":
# if a line ends with a backslash, append the next line to it
sed -e :a -e '/\\$/N; s/\\\n//; ta'
I understand what happens there but I don't understand, why it is done with a loop a, ta). It works without too. Can anybody give me a hint, for what case it is good for, please?
Thanks in forward.
laters
zaxxon
I found following lines in the "sed 100 oneliners":
# if a line ends with a backslash, append the next line to it
sed -e :a -e '/\\$/N; s/\\\n//; ta'
I understand what happens there but I don't understand, why it is done with a loop a, ta). It works without too. Can anybody give me a hint, for what case it is good for, please?
Thanks in forward.
laters
zaxxon