mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2025-02-16 21:18:23 +00:00
add sed wildcard
This commit is contained in:
parent
188f621d1d
commit
073fa9d7af
1 changed files with 6 additions and 0 deletions
|
@ -299,6 +299,12 @@ sed -n '10,33p' <filename
|
|||
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
|
||||
[[back to top](#handy-bash-oneliner-commands-for-tsv-file-editing)]
|
||||
|
|
Loading…
Add table
Reference in a new issue