Comm: 두 판 사이의 차이

내용 삭제됨 내용 추가됨
Mersenbot (토론 | 기여)
잔글 →‎예시: <source lang="console">
18번째 줄:
== 예시 ==
 
<source lang="bashconsole">
File '''foo'''
$ cat foo
apple
banana
eggplant
 
File$ cat '''bar'''
apple
banana
banana
zucchini
$ comm foo bar
<source lang="bash">
banana apple
$ comm foo bar
applebanana
banana
eggplant
banana
zucchini
eggplant
zucchini
</source>
이는 두 개의 파일이 하나의 바나나를 갖고 있으나 오직 '''bar'''만이 두 번째 바나나를 갖고 있음을 보여준다.