Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Missing record splitting modes

オープン
#124 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Franklin-Qi がすでに取り組んでいます。

2026年9月25日 から。

  • #133 @Franklin-Qi による — オープン

評価

この issue はまだ評価されていません。

説明

enhancement

gawk/awk have different record splitting modes depending on RS, RT, and friends. I think the plumbing is done, but some modes are missing. There might be missing plumbing for RT.

Sorry for the delay, I had a deployment at work these last couple of weeks and couldn't get the time to put this together.

Docs:

https://www.gnu.org/software/gawk/manual/html_node/awk-split-records.html
https://www.gnu.org/software/gawk/manual/html_node/gawk-split-records.html

It is quite funny how we avoided the nul-adjacent pitfalls gawk warns us about by construction, since Rust uses fat pointers.

If there is any interesting code reuse from the field splitting impl, feel free to refactor/reuse it by draining symbols.rs into io.rs. IMO field splitting is mostly living in symbols.rs on parole, given it's got too much user input processing for my taste.

Relevant source files/lines:

https://github.com/uutils/awk/blob/41ce9a7d69f10333e9f9489e5272d0a00061a30e/interpreter/src/vm/io.rs#L84-L97
https://github.com/uutils/awk/blob/41ce9a7d69f10333e9f9489e5272d0a00061a30e/interpreter/src/vm/io.rs#L100-L102
https://github.com/uutils/awk/blob/41ce9a7d69f10333e9f9489e5272d0a00061a30e/interpreter/src/vm/io.rs#L133-L135

主要言語
Rust
スター
28
フォーク
9
平均マージ
6時間 19分
マージ済み PR(30日)
14

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

uutils/awk のほかの issue

uutils/awk の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。