Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Shell scripts initially in CRLF instead of LF (causing execution issues on Linux)

Đang mở Phù hợp với người mới
#73 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

@Kewe63 đang làm issue này rồi.

Từ ngày 14/9/2026.

  • #92 của @Kewe63 — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, shell
Lĩnh vực
devops

Hướng nghiên cứu

Kiểm tra các tệp .sh của repository và tái hiện quy trình clone và thực thi Windows-to-Linux đã được báo cáo. Chuyển các script bị ảnh hưởng sang kết thúc dòng LF, sau đó xác minh rằng các script thiết lập hoặc khởi động node thực thi trên Linux mà không có lỗi ^M hoặc bad-interpreter.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hi,

I am currently running a node using your repository, and I noticed something unexpected regarding the shell scripts (.sh files).

At first, several scripts were formatted with CRLF line endings instead of LF. This caused execution problems on my Linux environment (e.g., ^M characters and “bad interpreter” errors). Since running a node requires a Linux-based environment, I was surprised that the scripts were not already in LF format.

After converting them to LF, everything works normally.

Steps to Reproduce

  1. Clone the repository on Windows

  2. Open the .sh files (they appear in CRLF)

  3. Try executing them on a Linux environment → execution errors

Expected Behavior

Shell scripts in repositories intended for Linux execution should use LF line endings by default.

Actual Behavior

Some .sh files were in CRLF, causing errors when running the node setup or startup scripts.

Environment

Running node on: Linux

Repo cloned initially on: Windows

Issue: CRLF line endings in shell scripts

Suggestion

Convert all .sh files in the repository to LF

Ngôn ngữ chính
Shell
Star
36.4k
Fork
643
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của inkonchain/node

Tất cả issue của inkonchain/node

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.