sed seul ne pourra pas le faire: c'est un éditeur de ligne
J'avais oublié :
SED(1) User Commands SED(1)
NAME
sed - stream editor for filtering and transforming text
SYNOPSIS
sed [OPTION]... {script-only-if-no-other-script} [input-file]...
DESCRIPTION
Sed is a stream editor. A stream editor is used to perform basic text transformations on an input
stream (a file or input from a pipeline). While in some ways similar to an editor which permits
scripted edits (such as ed), sed works by making only one pass over the input(s), and is conse-
quently more efficient. But it is sed's ability to filter text in a pipeline which particularly
distinguishes it from other types of editors.
[^] # Re: awk
Posté par Kangs . En réponse au message remplacement dans fichier. Évalué à 1.
J'avais oublié :