fix(start-dev.sh): replace sed -l with sed -u for Linux compatibility#12
Merged
fix(start-dev.sh): replace sed -l with sed -u for Linux compatibility#12
Conversation
sed -l on Linux (GNU sed) expects a numeric argument (line length), while on macOS (BSD sed) it means line-buffered output. This causes the frontend to fail to start on Linux systems. Fix by using sed -u (unbuffered), which works consistently on both platforms. Ref: #11
Gracker
added a commit
that referenced
this pull request
May 2, 2026
, #70, #109, #112) MemoryRootCauseContract folds eight memory-class Spark ideas into one graph contract. Five facets, all optional and provenance-tagged so missing data surfaces explicitly: - ProcessMemorySnapshot[] for RSS / Swap / mm_event / oomScoreAdj (Spark #11) - LmkKillEvent[] tying kills to oom_score_adj and reason (Spark #12) - DmaBufAllocation[] for DMA / dmabuf / ion / GPU pressure (Spark #13) - MemoryExternalArtifact[] for LeakCanary / KOOM / hprof / baseline imports (Spark #51, #70, #109, #112) - baselineDiff with topContributors[] for the leak baseline diff graph (Spark #34) Plan: docs/superpowers/spark/plans/14-memory-lmk-dmabuf.md Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sed -l on Linux (GNU sed) expects a numeric argument (line length), causing the command to fail immediately. On macOS (BSD sed), -l means line-buffered output. This cross-platform incompatibility breaks the frontend startup script on Linux.
Fix
Replace sed -l with sed -u (unbuffered), which works consistently on both Linux and macOS.
Changed
Ref
Fixes #11