Jim Meyering <[email protected]> writes: > Andreas Schwab wrote: >> Jim Meyering <[email protected]> writes: >> >>> (note that below there's the added advantage of not having to >>> double-quote to include $nl and hence not having to double-backslash) >> >> You can have that with the variable as well. > > You're right. We could write it like this: > > printf '\na\nb'|tac -rs '.\|'$nl
No, you need the quotes around $nl. Andreas. -- Andreas Schwab, [email protected] GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
