Text processing
hardpar 1 commandRename a severity, in the file
Every ERROR in app.log should read FAILURE afterwards — in the file, not just on screen. Check it before you commit to it.
Goal
0 / 1 commands
Change every ERROR in app.log to FAILURE, editing the file itself rather than printing the result.
- ·Uses
sed
$
| Mode | Links | Size | Name |
|---|---|---|---|
| -rw-r--r-- | 1 | 795 | app.log |
| -rw-r--r-- | 1 | 389 | app.log.1 |