最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號安全,請及時綁定郵箱和手機立即綁定

正在回答

3 回答

info sed =>


`-n'

`--quiet'

`--silent'

? ? ?By default, `sed' prints out the pattern space at the end of each

? ? ?cycle through the script (*note How `sed' works: Execution Cycle.).

? ? ?These options disable this automatic printing, and `sed' only

? ? ?produces output when explicitly told to via the `p' command.



`-i[SUFFIX]'

`--in-place[=SUFFIX]'

? ? ?This option specifies that files are to be edited in-place. ?GNU

? ? ?`sed' does this by creating a temporary file and sending output to

? ? ?this file rather than to the standard output.(1).


? ? ?This option implies `-s'.


? ? ?When the end of the file is reached, the temporary file is renamed

? ? ?to the output file's original name. ?The extension, if supplied,

? ? ?is used to modify the name of the old file before renaming the

? ? ?temporary file, thereby making a backup copy(2)).


? ? ?This rule is followed: if the extension doesn't contain a `*',

? ? ?then it is appended to the end of the current filename as a

? ? ?suffix; if the extension does contain one or more `*' characters,

? ? ?then _each_ asterisk is replaced with the current filename. ?This

? ? ?allows you to add a prefix to the backup file, instead of (or in

? ? ?addition to) a suffix, or even to place backup copies of the

? ? ?original files into another directory (provided the directory

? ? ?already exists).


? ? ?If no extension is supplied, the original file is overwritten

? ? ?without making a backup.


0 回復 有任何疑惑可以回復我~

我的理解:sed命令有一個緩沖區(qū),-n選項把緩沖區(qū)的內容輸出到屏幕,之后緩沖區(qū)就被清空了,再執(zhí)行-i就只剩下空的內容,寫入到文件里文件內容就沒了

0 回復 有任何疑惑可以回復我~

加上 -i 參數(shù)后 表示 將修改的內容同步到文件中,這時本身就不會顯示啊

手動指定-n 也是沒有效果的

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

加-ni內容不見了

我要回答 關注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號