• 2022-07-28
    如何用字母"new"来代替myfile文件中字母"old"?____
    A: sed ‘s/old/new/g’ myfile>myfile
    B: sed ‘s/old/new’
    myfile
    >myfile
    C: sed ‘1,$ s/old/new’ myfile>myfile
    D: sed ‘r/old/new’ myfile >myfile