단어 (검색 한 단어/줄)부터 파일의 끝까지 파일의 내용을 복사하고 싶습니다.정규식 단어에서 파일 끝까지 복사하는 내용을 복사하십시오.
예 : 을 File1 :
this is a sample text for file1 in PA
this is a sample text for file1 in CA
this is a sample text for file1 in CT
this is a sample text for file1 in IL
this is a sample text for file1 in MI
end of the file.
내가 파일의 마지막까지 "CT"가 줄에서을 file2하는 내용을 복사 할. 출력 : 있는 File2
this is a sample text for file1 in CT
this is a sample text for file1 in IL
this is a sample text for file1 in MI
end of the file.
무엇 나는 두 가지의 콘텐츠를 원하는 시나리오가있는 경우 파일을 하나의 출력 파일로 복사합니까? – phani