mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 11:19:45 +08:00
Updated SC2039 (markdown)
@@ -201,7 +201,7 @@ POSIX:
|
||||
|
||||
```sh
|
||||
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*}"
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user