Skip to content

alternative-intelligence-cp/ariax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AriaX — Aria-Powered Linux Distribution

License: Apache 2.0

An AI-native Linux distribution with a complete userspace written in Aria


POSIX Tools (v0.2.7)

26 core POSIX utilities implemented in the Aria programming language, located in tools/. All tools support standard Unix pipelines (cat file | grep pattern | wc).

File Utilities

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

Search & Filter

Tool Description
grep Substring pattern search
find Check file existence
diff Compare files line-by-line

System Utilities

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

Text Processing

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

Building

All tools are compiled with the Aria compiler (ariac):

ariac tools/cat.aria -o cat
ariac tools/grep.aria -o grep

Pipeline Support

All 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.txt

Six-Stream I/O

Tools 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.


License

Apache 2.0 — See LICENSE.md

About

AriaX Linux — custom Linux distribution built on Ubuntu with Aria toolchain, developer tools, and AILP branding

Topics

Resources

License

AGPL-3.0, Apache-2.0 licenses found

Licenses found

AGPL-3.0
LICENSE
Apache-2.0
LICENSE.md

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors