vi에서 character replace

2023. 1. 27. 10:23Linux/vi

728x90
SMALL

- 전체 라인의 앞 4 character remove

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


- 전체 라인의 뒤 4 character remove

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