mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2039 (markdown)
@@ -201,7 +201,7 @@ POSIX:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
echo "$TERM" | sed -e 's/-256.*$//g'
|
echo "$TERM" | sed -e 's/-256.*$//g'
|
||||||
# Special case for this since we are matching the end:
|
# Special case for this since we are matching the end (the start [#] also works):
|
||||||
echo "${TERM%-256*}"
|
echo "${TERM%-256*}"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user