Linux/vi

vi에서 character replace

워니주니구니 2023. 1. 27. 10:23
728x90
SMALL

- 전체 라인의 앞 4 character remove

:%s/^....//g


- 전체 라인의 뒤 4 character remove

:%s/....$//g
728x90
LIST