ban-ai-multics / ban-telnet Goto Github PK
View Code? Open in Web Editor NEWban-telnet: TELNET client and server (for UNIX)
Home Page: https://github.com/BAN-AI-Multics/ban-telnet
License: GNU General Public License v3.0
ban-telnet: TELNET client and server (for UNIX)
Home Page: https://github.com/BAN-AI-Multics/ban-telnet
License: GNU General Public License v3.0
Variables that are declared but not used for anything should be removed. #### Problematic code: bash foo=42 echo "$FOO"
#### Preferred code: bash foo=42 echo "$foo"
#### Exceptions: This warning may be falsely emitted when a variable is referenced indirectly, or it is intentionally not used. * Indirection: …
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2034/occurrences/
Consider using the $(...)
notation instead. Backtick command substitution \
...`is legacy syntax with several issues. * It has a series of undefined behaviors related to quoting in POSIX. * It imposes a custom escaping mode with surprising results. * It's exceptionally hard to nest.
$(...)` command substitution has none …
There are 109 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2006/occurrences/
bash name=World echo 'Hello $name'
#### Preferred code: bash name=World echo "Hello $name"
If you want to use the values of variables and such, use double quotes instead. Note that if you have other items that needs single quoting, you can use both in a …There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2016/occurrences/
sh echo $1 for i in $*; do :; done # this one and the next one also apply to expanding arrays. for i in $@; do :; done
## Correct code: ```sh echo "$1" for i in "$@"; do :; done # or, 'for i; …There are 115 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2086/occurrences/
It is recommended to use ./
or --
glob so names with dashes won't become options. #### Problematic code: bash rm *
#### Preferred code: bash rm ./* # or rm -- *
Since files and arguments are strings passed the same way, programs can't properly determine which …
There are 4 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2035/occurrences/
According to POSIX: > The expr utility has a rather difficult syntax [...] In many cases, the arithmetic and string features provided as part of the shell command language are easier to use than their equivalents in expr. Newly written scripts should avoid expr in favor of the new features …
There are 28 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2003/occurrences/
bash ls -l | grep " $USER " | grep '\.txt$' NUMGZ="$(ls -l *.gz | wc -l)"
#### Preferred code: bash find . -maxdepth 1 -name '*.txt' -user "$USER" # Using the names of the files gz_files=(*.gz) numgz=${#gz_files[@]} # Sometimes, you just need a count
…There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2012/occurrences/
According to POSIX: > The expr utility has a rather difficult syntax [...] In many cases, the arithmetic and string features provided as part of the shell command language are easier to use than their equivalents in expr. Newly written scripts should avoid expr in favor of the new features …
There are 28 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2003/occurrences/
bash ls -l | grep " $USER " | grep '\.txt$' NUMGZ="$(ls -l *.gz | wc -l)"
#### Preferred code: bash find . -maxdepth 1 -name '*.txt' -user "$USER" # Using the names of the files gz_files=(*.gz) numgz=${#gz_files[@]} # Sometimes, you just need a count
…There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2012/occurrences/
When command expansions are unquoted, word splitting and globbing will occur. This can result unintended behaviour filenames contain spaces. Trying to fix it by adding quotes or escapes to the data will not work. Instead, quote the command substitution itself. If the command substitution outputs multiple pieces of data, it …
There are 9 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2046/occurrences/
bash printf "Hello, $NAME\n"
#### Preferred code: bash printf "Hello, %s\n" "$NAME"
printf
interprets escape sequences and format specifiers in the format string. If variables are included, any escape sequences or format specifiers in the data will be interpreted too, where you might have wanted …There are 12 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2059/occurrences/
bash printf "Hello, $NAME\n"
#### Preferred code: bash printf "Hello, %s\n" "$NAME"
printf
interprets escape sequences and format specifiers in the format string. If variables are included, any escape sequences or format specifiers in the data will be interpreted too, where you might have wanted …There are 12 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2059/occurrences/
sh echo $1 for i in $*; do :; done # this one and the next one also apply to expanding arrays. for i in $@; do :; done
## Correct code: ```sh echo "$1" for i in "$@"; do :; done # or, 'for i; …There are 115 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2086/occurrences/
It is recommended to use ./
or --
glob so names with dashes won't become options. #### Problematic code: bash rm *
#### Preferred code: bash rm ./* # or rm -- *
Since files and arguments are strings passed the same way, programs can't properly determine which …
There are 4 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2035/occurrences/
bash name=World echo 'Hello $name'
#### Preferred code: bash name=World echo "Hello $name"
If you want to use the values of variables and such, use double quotes instead. Note that if you have other items that needs single quoting, you can use both in a …There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2016/occurrences/
When command expansions are unquoted, word splitting and globbing will occur. This can result unintended behaviour filenames contain spaces. Trying to fix it by adding quotes or escapes to the data will not work. Instead, quote the command substitution itself. If the command substitution outputs multiple pieces of data, it …
There are 9 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2046/occurrences/
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
None detected
Variables that are declared but not used for anything should be removed. #### Problematic code: bash foo=42 echo "$FOO"
#### Preferred code: bash foo=42 echo "$foo"
#### Exceptions: This warning may be falsely emitted when a variable is referenced indirectly, or it is intentionally not used. * Indirection: …
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2034/occurrences/
Consider using the $(...)
notation instead. Backtick command substitution \
...`is legacy syntax with several issues. * It has a series of undefined behaviors related to quoting in POSIX. * It imposes a custom escaping mode with surprising results. * It's exceptionally hard to nest.
$(...)` command substitution has none …
There are 109 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2006/occurrences/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.