mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-29 23:56:36 +00:00
add sed wildcard
This commit is contained in:
parent
188f621d1d
commit
073fa9d7af
@ -299,6 +299,12 @@ sed -n '10,33p' <filename
|
|||||||
sed 's=/=\\/=g'
|
sed 's=/=\\/=g'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#####replace with wildcard (e.g A-1-e or A-2-e or A-3-e....)
|
||||||
|
```bash
|
||||||
|
sed 's/A-.*-e//g' filename
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#Awk
|
#Awk
|
||||||
[[back to top](#handy-bash-oneliner-commands-for-tsv-file-editing)]
|
[[back to top](#handy-bash-oneliner-commands-for-tsv-file-editing)]
|
||||||
|
Loading…
Reference in New Issue
Block a user