An AI-native Linux distribution with a complete userspace written in Aria
26 core POSIX utilities implemented in the Aria programming language, located in tools/. All tools support standard Unix pipelines (cat file | grep pattern | wc).
| Tool | Description |
|---|---|
cat |
Concatenate and display files |
head |
Display first N lines (default 10) |
tail |
Display last N lines (default 10) |
wc |
Word, line, and character count |
tee |
Duplicate stdin to stdout and files |
cut |
Extract fields by delimiter |
sort |
Sort lines lexicographically |
uniq |
Remove adjacent duplicate lines |
tr |
Translate characters |
| Tool | Description |
|---|---|
grep |
Substring pattern search |
find |
Check file existence |
diff |
Compare files line-by-line |
| Tool | Description |
|---|---|
echo |
Output text |
yes |
Repeatedly output a line |
true |
Exit with code 0 |
false |
Exit with code 1 |
env |
Environment display (placeholder) |
sleep |
Pause execution |
basename |
Extract filename from path |
dirname |
Extract directory from path |
seq |
Generate number sequences |
| Tool | Description |
|---|---|
nl |
Number lines |
fold |
Wrap long lines at width |
paste |
Merge lines from files |
expand |
Convert tabs to spaces |
unexpand |
Convert leading spaces to tabs |
All tools are compiled with the Aria compiler (ariac):
ariac tools/cat.aria -o cat
ariac tools/grep.aria -o grepAll tools read from stdin when no file argument is given:
cat file.txt | grep "pattern" | sort | uniq | wc
echo "hello world" | tr "aeiou" "AEIOU" | nl
cat data.txt | head -n 5 | tee output.txtTools are designed with the AriaX six-stream I/O model in mind:
- stdin (0), stdout (1), stderr (2) — standard streams
- stddbg (3), stddati (4), stddato (5) — extended streams
Stream routing is a single configurable point per tool. When AriaX kernel support is ready, switching to six-stream is a configuration change, not a rewrite.
Apache 2.0 — See LICENSE.md