当前位置:网站首页>The base value is too large (the error is marked as "08") [duplicate] - value too great for base (error token is'08') [duplicate]
The base value is too large (the error is marked as "08") [duplicate] - value too great for base (error token is'08') [duplicate]
2022-07-03 02:51:00 【French red wine sweet】
problem :
Here my problem is to find the difference of using single bracket [ ] and double brackets [[ ]] in if statement. My problem here is to find out where if Use single parentheses in statements [ ] And double brackets [[ ]] The difference between .
#!/bin/bashvara=08;varb=10;## single bracket in if statment is working.if [ $vara -lt $varb ]; thenecho "yes";elseecho "no";fi## double brackets in if statment is not working; throwing an error like below.## [[: 08: value too great for base (error token is "08")if [[ $vara -lt $varb ]]; thenecho "yes";elseecho "no";fiSolution :
Reference resources : https://stackoom.com/en/question/1fxmf边栏推荐
- [leectode 2022.2.15] lucky numbers in the matrix
- Random shuffle note
- Build a private cloud disk cloudrev
- Introduction to cron expression
- Random Shuffle attention
- tensorflow转pytorch笔记;tf.gather_nd(x,y)转pytorch
- sql server 查询指定表的表结构
- 【Flutter】shared_ Preferences local storage (introduction | install the shared_preferences plug-in | use the shared_preferences process)
- Use cve-2021-43893 to delete files on the domain controller
- Getting started | jetpack hilt dependency injection framework
猜你喜欢

【翻译】后台项目加入了CNCF孵化器

Add automatic model generation function to hade

Random shuffle note

I2C 子系统(一):I2C spec

random shuffle注意

Principle and application of database

Deep learning: multi-layer perceptron and XOR problem (pytoch Implementation)

MATLAB小技巧(24)RBF,GRNN,PNN-神经网络

Add automatic model generation function to hade

Three. JS local environment setup
随机推荐
Error invalid bound statement (not found): com ruoyi. stock. mapper. StockDetailMapper. XXXX solution
[fluent] JSON model conversion (JSON serialization tool | JSON manual serialization | writing dart model classes according to JSON | online automatic conversion of dart classes according to JSON)
Thunderbolt Chrome extension caused the data returned by the server JS parsing page data exception
Gbase 8C function / stored procedure definition
C language beginner level - pointer explanation - paoding jieniu chapter
Cron表达式介绍
TCP 三次握手和四次挥手机制,TCP为什么要三次握手和四次挥手,TCP 连接建立失败处理机制
From C to capable -- use the pointer as a function parameter to find out whether the string is a palindrome character
MUX VLAN Foundation
处理数据集,使用LabelEncoder将所有id转换为从0开始
函数栈帧的创建与销毁
Linear rectification function relu and its variants in deep learning activation function
Add automatic model generation function to hade
Deep learning: multi-layer perceptron and XOR problem (pytoch Implementation)
leetcode540
Mathematical statistics -- Sampling and sampling distribution
Your family must be very poor if you fight like this!
random shuffle注意
The solution of "the required function is not supported" in win10 remote desktop connection is to modify the Registry [easy to understand]
HW-初始准备