4 ms·
so... you can't use sed for the same task because it breaks symlinks?
by maccio92 8y ago
so... you can't use sed for the same task because it breaks symlinks?
- LukeShu 8y agoBy "breaks symlinks", he means that if you run `sed -i` (without `--follow-symlinks`) on a symlink, then it will turn the symlink in to a regular file. GNU sed has `--follow-symlinks` which adjusts this behavior to edit the target of the symlink, and leave the symlink itself alone.
- deleted 8y ago[deleted]