sgsh
1 program
Added 2026-03-16T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Scatter-Gather Shell, sgsh shell
Provenance: commit 63d3332513 · authored 2026-03-16T23:54:59+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Parallel Word Frequency Analysis
Provenance: commit 63d3332513 · authored 2026-03-16T23:54:59+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
#!/usr/local/bin/sgsh
# Parallel word frequency analysis using scatter-gather pipeline
# Split input stream to multiple processing branches simultaneously
<"$1" tee |{
-| tr -cs '[:alpha:]' '\n' | tr '[:upper:]' '[:lower:]' | sort | uniq -c | sort -rn | head -20 |-
-| wc -l | sed 's/^/Lines: /' |-
-| wc -w | sed 's/^/Words: /' |-
|}