question about vi# Unix - 噫吁兮,危乎高哉
w*c
1 楼
a question about vi:
"man ls > ls.out" which redirects output to ls.out.
then i try to look at it in vi by "vi ls.out". I see that
a lot of "^H" in the content which distracts my view.
question as is:
1.I try to delete them using s/\^H/\ /g. but doesn't
match the pattern given.I could not match against "^H" using
\^H in the regular expression. What is "^H" from ? and how
could I match against it?
2. in vi line comannd ":", how can I represent the
Ctrl key "^"?It is the small quest
"man ls > ls.out" which redirects output to ls.out.
then i try to look at it in vi by "vi ls.out". I see that
a lot of "^H" in the content which distracts my view.
question as is:
1.I try to delete them using s/\^H/\ /g. but doesn't
match the pattern given.I could not match against "^H" using
\^H in the regular expression. What is "^H" from ? and how
could I match against it?
2. in vi line comannd ":", how can I represent the
Ctrl key "^"?It is the small quest