Documentation: A "Coming from Perl" section
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- perl
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu bằng cách tìm các phần "Coming from " hiện có trong cuốn sách Nushell và đọc cấu trúc cùng các ví dụ của chúng. Thêm một phần tương tự "Coming from Perl" với các cách thay thế theo phong cách Nushell tự nhiên cho các biến đặc biệt Perl được liệt kê, sau đó kiểm tra để bảo đảm phần này phù hợp với kiểu tài liệu và điều hướng của cuốn sách.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 258
- Fork
- 561
- Merge trung bình
- 3 giờ 20 phút
- Pull request đã merge (30 ngày)
- 15
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nushell/nushell.github.io
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 68/100
nushell/nushell.github.io#2081 · 3 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
nushell/nushell.github.io#767 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
nushell/nushell.github.io#2232 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
nushell/nushell.github.io#2209 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
nushell/nushell.github.io#2194 ·
Tất cả issue của nushell/nushell.github.io
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
0xMiden/bridge-portal#132 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
area:tools bug good first issue help wanted priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
newrelic-experimental/preflight#793 · 1 bình luận ·