GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — scripts/decode_stacktrace: strip basepath from all paths · diffuzor2a9/BPI-Router-Linux@d178770

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • scripts
    • decode_stacktrace.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎scripts/decode_stacktrace.sh‎

Copy file name to clipboardExpand all lines: scripts/decode_stacktrace.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ parse_symbol() {
8787
return
8888
fi
8989

90-
# Strip out the base of the path
91-
code=${code#$basepath/}
90+
# Strip out the base of the path on each line
91+
code=$(while read -r line; do echo "${line#$basepath/}"; done <<< "$code")
9292

9393
# In the case of inlines, move everything to same line
9494
code=${code//$'\n'/' '}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.