Y
Hacker News
new
|
ask
|
show
|
jobs
by
ttyprintk
1513 days ago
sed -i alone overwrites a soft or hard link with the contents of the file.
1 comments
1vuio0pswjnm7
1513 days ago
-i creates a temporary file and then replaces the original with the temporary. The BSD man page advises not to use -i alone because if there is insufficient space to store the temporary, data may be lost.
link