리눅스 grep -A

(Grep -A에서 넘어옴)

1 개요[ | ]

grep -A
root@zetawiki:~# cat /etc/vim/vimrc | grep ^if -A1
if has("syntax")
  syntax on
--
if filereadable("/etc/vim/vimrc.local")
  source /etc/vim/vimrc.local
root@zetawiki:~# cat /etc/vim/vimrc | grep ^if -A2
if has("syntax")
  syntax on
endif
--
if filereadable("/etc/vim/vimrc.local")
  source /etc/vim/vimrc.local
endif

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}