You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider using parameter expansion to search and replace data. In the problematic code the value is passed to sed to do this, but for simple substitutions, parameter expansion can do it with less overhead. #### Problematic code: bash string="stirng" ; echo "$string" | sed -e "s/ir/ri/" #### Preferred code: …
Occurrences
There are 5 occurrences of this issue in the repository.
Description
Consider using parameter expansion to search and replace data. In the
problematic code
the value is passed tosed
to do this, but for simple substitutions, parameter expansion can do it with less overhead. #### Problematic code:bash string="stirng" ; echo "$string" | sed -e "s/ir/ri/"
#### Preferred code: …Occurrences
There are 5 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/johnsonjh/sgs-68k/issue/SH-2001/occurrences/
The text was updated successfully, but these errors were encountered: