User Tools

Site Tools


sed

Ajout de ligne

Pour ajouter # vim: filetype=apache à la ligne 115 voici la commande:

sed -i '115i# vim: filetype=apache'

Remplacer ``%``

Pour remplacer %blablaµqdf% par blablaµqdf voici la commande:

sed -i 's,%,,g' file
sed.txt · Last modified: 2023/01/02 16:46 by 127.0.0.1