Skip to content
Snippets Groups Projects
Commit bd5756e3 authored by alexis.dereeper_ird.fr's avatar alexis.dereeper_ird.fr
Browse files

Update bash-extracting_from_files.md

parent 5c0582c0
No related branches found
No related tags found
No related merge requests found
Pipeline #39771 passed
...@@ -184,9 +184,6 @@ You can redirect a result and store it in a file thanks to the `>` redirection: ...@@ -184,9 +184,6 @@ You can redirect a result and store it in a file thanks to the `>` redirection:
``` ```
## Filtering a file (awk)
## Replacing patterns (sed) ## Replacing patterns (sed)
...@@ -207,4 +204,7 @@ You can redirect a result and store it in a file thanks to the `>` redirection: ...@@ -207,4 +204,7 @@ You can redirect a result and store it in a file thanks to the `>` redirection:
# command # command
sed -i "s/^1/M/g" nat2021.tsv sed -i "s/^1/M/g" nat2021.tsv
sed -i "s/^2/F/g" nat2021.tsv sed -i "s/^2/F/g" nat2021.tsv
``` ```
\ No newline at end of file
## Filtering a file (awk)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment