当前位置:网站首页>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";fi
Solution :
Reference resources : https://stackoom.com/en/question/1fxmf边栏推荐
- [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)
- js根据树结构查找某个节点的下面的所有父节点或者子节点
- C language beginner level - pointer explanation - paoding jieniu chapter
- Apple releases MacOS 11.6.4 update: mainly security fixes
- How to implement append in tensor
- Add automatic model generation function to hade
- Concrete CMS vulnerability
- MATLAB小技巧(24)RBF,GRNN,PNN-神经网络
- Counter统计数量后,如何返回有序的key
- Cron表达式介绍
猜你喜欢
I2C subsystem (III): I2C driver
Thunderbolt Chrome extension caused the data returned by the server JS parsing page data exception
[Hcia]No.15 Vlan间通信
The process of connecting MySQL with docker
Deep Reinforcement Learning for Intelligent Transportation Systems: A Survey 论文阅读笔记
Can netstat still play like this?
一文带你了解 ZigBee
HTB-Devel
SQL statement
From C to capable -- use the pointer as a function parameter to find out whether the string is a palindrome character
随机推荐
The difference between left value and right value in C language
定了,就选它
Two dimensional format array format index subscript continuity problem leads to return JSON format problem
Process the dataset and use labelencoder to convert all IDs to start from 0
HTB-Devel
Add MDF database file to SQL Server database, and the error is reported
[fluent] futurebuilder asynchronous programming (futurebuilder construction method | asyncsnapshot asynchronous calculation)
Sqlserver row to column pivot
超好用的日志库 logzero
where 1=1 是什么意思
sql server数据库添加 mdf数据库文件,遇到的报错
Three. JS local environment setup
Check log4j problems using stain analysis
Gbase 8C create user / role example 2
[shutter] bottom navigation bar page frame (bottomnavigationbar bottom navigation bar | pageview sliding page | bottom navigation and sliding page associated operation)
内存泄漏工具VLD安装及使用
Getting started | jetpack hilt dependency injection framework
Xiaodi notes
Segmentation fault occurs during VFORK execution
Update and return document in mongodb - update and return document in mongodb