$ cat file1
"rome" newyork
"rome"
rome
빈 칸을 채우려면 무엇이 필요합니까?큰 따옴표 사이에있는 문자열을 제외한 모든 문자를 "hello"로 바꾸십시오.
$ sed ____________________ file1
나는
"rome" newyork
"rome"
hello
같은 출력 내가이없는 인사를 변경하려는 경우 내 입력이
$ cat file1
/temp/hello/ram
hello
/hello/temp/ram
같은 경우는 어떻게해야합니까 슬래시 싶어?
temp/hello/ram
happy
/hello/temp/ram
Thaknks. 내가 이것을 찾고 있는데 : –
입력이 "/ temp/hello/ram hello/hello/temp/ram"과 같은 경우, 내가 할 일을 슬래시가 없으면 안부를 변경하고 싶다면 ??? 샘플 O/P : temp/hello/ram happy/hello/temp/ram [안녕하세요 행복하게 변경]. –