diff --git a/docs/pages/bash_manip/bash_manip-7-sed.md b/docs/pages/bash_manip/bash_manip-7-sed.md index ff49bf4062f6fd16b0c1de616f0554976d5326f1..72670c9faf3d71ca5790278490922b729059ea8d 100644 --- a/docs/pages/bash_manip/bash_manip-7-sed.md +++ b/docs/pages/bash_manip/bash_manip-7-sed.md @@ -49,7 +49,7 @@ sed 'FLAG/<pattern>/<string>/FLAG' |----------|----------| ----| ----| ----| ----| ----| ----| q | Quit after a line (`/<pattern>/q` or `<integer>q`) | | x | x | | | | d | Delete lines (`/<pattern>/d` or `<integer>d`) | | x | x | | | | - p | Print matched lines (`-n '/<pattern>/p'`) | Only with `-n` option | | x | | | | + p | Print matched lines (`-n '/<pattern>/p'` or `-n '<integer>p'`) | Only with `-n` option | | x | x | | | a | Append text after a line (`/<pattern>/a Add new text after`) | On macOS (BSD sed) the command requires a backslash (`\`) and a newline. | | | x | | | i | Insert text before a line (`/<pattern>/i Add new text before`) | On macOS (BSD sed) the command requires a backslash (`\`) and a newline | | | x | | | c | Change entire line (`/<pattern>/c This is a new line`) | | | | x | | |