Tcsh

1 program Added 2025-10-22T15:05:32Z Model: anthropic/claude-3.5-sonnetTemp: 0.4 Evidence Report issue View issues
Aliases: TENEX C shell, tcsh
Provenance: commit d7b5f15cb4 · authored 2025-10-22T17:05:32+02:00 · model anthropic/claude-3.5-sonnet

Sources mentioning this language

7 sources · pl_id: pl/tcsh
LLM (this repo) · 1PldbLinguistPygmentsWikipediaHyperpolyglotWikidata · Q1064516

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

First appeared1978
LicenseBSD license

Extensions claimed by this language

4 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.tcshlinguistprimary12.6K files
.tcshpygmentsprimary12.6K files
.cshlinguistsecondary481.2K files
.cshpygmentssecondary481.2K files

Related languages

C Shell (0.42)csh (0.35)Scsh (0.25)Tksh (0.23)Nushell (0.21)

LLM-contributed programs

System Information Display Script

Provenance: commit d7b5f15cb4 · authored 2025-10-22T17:05:32+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
code.tcsh · license: BSD-3-Clause · added: 2025-10-22T15:05:32Z
#!/bin/tcsh
set prompt="%n@%m:%~%# "
set time=(8 "CPU %U USER %S SYSTEM %E ELAPSED %P RATIO")
set history=1000
set savehist=(1000 merge)
set autolist=ambiguous
set autoexpand
set autorehash
set mail=/var/mail/$USER
set correct=cmd
set filec

# System information display
echo "System Information:"
echo "----------------"
echo "Hostname: `hostname`"
echo "OS: `uname -s`"
echo "Kernel: `uname -r`"
echo "Architecture: `uname -m`"
echo "Current User: $USER"
echo "Shell: $shell"
echo "Home Directory: $home"
echo "Current Directory: $cwd"

# Load average
echo "\nSystem Load:"
uptime

Real programs from Software Heritage

1 sample mined from derived_datasets/<date>/contents/*.parquet, byte-verified against the SWH archive. Citation-grade qualified SWHIDs preserved.
starship.tcsh · 762 B · ext .tcsh · seen 407× in SWH
via unique-primary
swh:1:cnt:7d4b4b9a0eae07d50dbd63bf0029b417d9f648c0;origin=https://github.com/starship/starship;anchor=swh:1:rev:d21400a4784e17b7a4afe110155c01717f835388;path=/src/init/starship.tcsh
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
setenv STARSHIP_SHELL tcsh;
setenv STARSHIP_SESSION_KEY `::STARSHIP:: session`;
set USER_PRECMD = "`alias precmd`";
set USER_POSTCMD = "`alias postcmd`";
set STARSHIP_PRECMD = 'set STARSHIP_CMD_STATUS = $status;set STARSHIP_PATH = ::STARSHIP::;set STARSHIP_END_TIME = `$STARSHIP_PATH time`;set STARSHIP_DURATION = 0;if ( $STARSHIP_START_TIME != -1 ) @ STARSHIP_DURATION = $STARSHIP_END_TIME - $STARSHIP_START_TIME;set prompt = "`$STARSHIP_PATH prompt --status $STARSHIP_CMD_STATUS --cmd-duration $STARSHIP_DURATION`";set STARSHIP_START_TIME = -1';
set STARSHIP_POSTCMD = 'set STARSHIP_START_TIME = `::STARSHIP:: time`';
alias precmd "$STARSHIP_PRECMD;$USER_PRECMD";
alias postcmd "$STARSHIP_POSTCMD;$USER_POSTCMD";
set STARSHIP_START_TIME = `::STARSHIP:: time`;

Contribute — propose a file extension

Tell us where to find evidence about Tcsh (mapped to pl/tcsh). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Tcsh/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← tcp tcsp →