mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-23 21:27:00 +00:00
Update README.md
Replaced command line indicators from `$` to `#`
This commit is contained in:
parent
63641ac24f
commit
6a8e1e7320
@ -289,15 +289,15 @@ expr 30 \> 20 #1 (true)
|
|||||||
# Number of decimal digit/ significant figure
|
# Number of decimal digit/ significant figure
|
||||||
echo "scale=2;2/3" | bc
|
echo "scale=2;2/3" | bc
|
||||||
|
|
||||||
$ .66
|
# .66
|
||||||
|
|
||||||
# Exponent operator
|
# Exponent operator
|
||||||
echo "10^2" | bc
|
echo "10^2" | bc
|
||||||
$ 100
|
# 100
|
||||||
|
|
||||||
# Using variables
|
# Using variables
|
||||||
echo "var=5;--var"| bc
|
echo "var=5;--var"| bc
|
||||||
$ 4
|
# 4
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user