Documentation: A "Coming from Perl" section
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- perl
- Ambito
- documentation
Direzione di ricerca
Inizia individuando le sezioni esistenti "Coming from " del libro di Nushell e leggendone la struttura e gli esempi. Aggiungi una sezione analoga "Coming from Perl" con alternative idiomatiche di Nushell per le variabili speciali di Perl elencate, quindi verifica che sia coerente con lo stile della documentazione e la navigazione del libro.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Related problem
The "Coming from " sections of the Nushell book are a great idea, but there is an obvious "other language" missing- Perl.
As a solution that aims to bridge the gap between shells and programming languages the Pathologically Eclectic Rubbish Lister (PERL) seems to me the natural ancestor/competitor of Nushell. Perl may be long in the tooth but it is still a very widely used tool on Linux / Unix based systems, and has a lot of features designed specifically to make it work well as a "glue" language.
It's not obvious (at least to me as a user new to Nushell) how some of the things Perl can do can be accomplished in Nushell, some specific "getting started" help would be useful.
Describe the solution you'd like
A documentation section on "Coming from Perl" could help open up Nushell to areas where Perl has been the "swiss army knife" of system automation for years.
As an example, it would be particularly helpful to have idiomatic Nushell alternatives for the Perl "special variables" including-
$0 $PROGRAM_NAME Pathname of the current script
$$ $PID The pid of the process running the current script
$^T $BASETIME Timestamp when the current process started
$< $UID Real user ID (uid) of this process
$> $EUID Effective user ID of this process
$( $GID Real group ID
$) $EGID Effective group ID
$! $ERRNO / $OS_ERROR Number or text of the error from the last system call
$? $CHILD_ERROR Status returned by the last child process
Describe alternatives you've considered
No response
Additional context and details
No response
- Lingua principale
- TypeScript
- Stelle
- 258
- Fork
- 561
- Merge medio
- 3h 20m
- PR unite (30g)
- 15
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nushell/nushell.github.io
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 68/100
nushell/nushell.github.io#2081 · 3 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
nushell/nushell.github.io#767 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
nushell/nushell.github.io#2232 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
nushell/nushell.github.io#2209 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
nushell/nushell.github.io#2194 ·
Tutte le issue di nushell/nushell.github.io
Issue simili
-
blocklist removal
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
pastelsky/bundlephobia#1122 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100