LINUX.ORG.RU

История изменений

Исправление tz4678, (текущая версия) :

~ 
➜ echo "text in double quotes"'"quoted"'"aaaaaaaaaaa"
text in double quotes"quoted"aaaaaaaaaaa

~ 
➜ echo "\!"                                          
!

~ 
➜ echo '\!' 
\!

~ 
➜ echo '/foo/bar/baz' | sed -r 's;/;\\/;g'
\/foo\/bar\/baz

Исправление tz4678, :

~ 
➜ echo "text in double quotes"'"quoted"'"aaaaaaaaaaa"
text in double quotes"quoted"aaaaaaaaaaa

~ 
➜ echo "\!"                                          
!

~ 
➜ echo '\!' 
\!

Исходная версия tz4678, :

~ 
➜ echo "text in double quotes"'"quoted"'"aaaaaaaaaaa"
text in double quotes"quoted"aaaaaaaaaaa