Skip to content

fix(start-dev.sh): replace sed -l with sed -u for Linux compatibility#12

Merged
Gracker merged 1 commit intomainfrom
auto-fix-11-sed-l-20260429-173854
Apr 29, 2026
Merged

fix(start-dev.sh): replace sed -l with sed -u for Linux compatibility#12
Gracker merged 1 commit intomainfrom
auto-fix-11-sed-l-20260429-173854

Conversation

@Gracker
Copy link
Copy Markdown
Owner

@Gracker Gracker commented Apr 29, 2026

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

  • scripts/start-dev.sh: single line change (sed -l → sed -u)

Ref

Fixes #11

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 Gracker marked this pull request as ready for review April 29, 2026 09:43
@Gracker Gracker merged commit 71be036 into main Apr 29, 2026
@Gracker Gracker deleted the auto-fix-11-sed-l-20260429-173854 branch April 29, 2026 09:43
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(start-dev.sh): frontend fails to start on Linux due to sed -l incompatibility

1 participant