mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-23 16:56:35 +00:00
add other
add one to variable/increment a numeric variable
This commit is contained in:
parent
0c57242c01
commit
17f691fcf0
@ -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
|
cat file|rev | cut -d/ -f1 | rev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#####add one to variable/increment a numeric variable (e.g. $var)
|
||||||
|
```bash
|
||||||
|
((var++))
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
##System
|
##System
|
||||||
|
Loading…
Reference in New Issue
Block a user