mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2025-02-16 21:18:23 +00:00
add other
add one to variable/increment a numeric variable
This commit is contained in:
parent
0c57242c01
commit
17f691fcf0
1 changed files with 4 additions and 0 deletions
|
@ -1322,6 +1322,10 @@ cat file.fastq | paste - - - - | sed 's/^@/>/g'| cut -f1-2 | tr '\t' '\n' >file.
|
|||
cat file|rev | cut -d/ -f1 | rev
|
||||
```
|
||||
|
||||
#####add one to variable/increment a numeric variable (e.g. $var)
|
||||
```bash
|
||||
((var++))
|
||||
```
|
||||
|
||||
|
||||
##System
|
||||
|
|
Loading…
Add table
Reference in a new issue