상위 질문
타임라인
채팅
관점
Ed (문서 편집기)
위키백과, 무료 백과사전
Remove ads
ed는 유닉스 운영 체제용 라인 에디터이다. 1969년 8월 개발된 유닉스 운영 체제의 첫 부분들 가운데 하나이다.[1] vi와 같은 더 복잡한 전체 화면 편집기와 나란히, 유닉스 기반 운영 체제를 위한 POSIX와 오픈 그룹 표준의 일부로 남아있다.[2]
기능
예
ed 세션의 예제이다. 사용자가 입력한 명령어와 텍스트는 보통의 글씨체로 되어있고, ed의 출력물은 강조 표시로 되어있다.
a
ed is the standard Unix text editor.
This is line number two.
.
2i
.
,l
ed is the standard Unix text editor.$
$
This is line number two.$
3s/two/three/
,l
ed is the standard Unix text editor.$
$
This is line number three.$
w text
65
q
최종 결과는 다음의 문자를 포함하는 단순 텍스트 파일이다:
ed is the standard Unix text editor.
This is line number three.
Remove ads
같이 보기
- vi: ex 기반의 시각 전체 화면 편집기
각주
외부 링크
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads