Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sed and xentools413



RVP wrote:
>
> In POSIX shells, only some chars are
> special after a '\' inside double-quotes:
>  	\\ -> \
>  	\" -> "
>  	\` -> `
>	\$ -> $
> All other instances of '\char' in a DQ-string are preserved.

You are 100% correct, I wrote complete crap.  And it would
have been so easy to simply check

	$ echo "s/^ *\([0-9]*\)\t.*$/\1/"
	s/^ *\([0-9]*\)\t.*$/\1/

Thanks for reminding me of reality!

						Martin


Home | Main Index | Thread Index | Old Index