suselinux 发表于 2006-3-23 15:17:32

sed usage problem

how to use sed replacement with a variable?

Like
$var="hello"
sed 's/$var/xello/' hello.c

but it does not work...
页: [1]
查看完整版本: sed usage problem