/neko

My implementation of cat (a utility command in Linux/Unix)

Primary LanguageCMIT LicenseMIT

Neko




My implementation of cat (a tool to print contents of a file) in C


Compile

make


Help

neko -h

Output:

Usage: neko [OPTION]... [FILE]...
Concatenate FILE to standard output.

Options:
    -n   number all output lines
    -s   strip repeated empty output lines

Examples:
    neko -n file   Output file contents with line numbers
    neko > file    takes input from STDIN and redirects it to file
    neko >> file   takes input from STDIN and appends it to file
    neko -s file   Output file contents after stripping repeated empty lines
    neko -sn file  Output file contents with line numbers after stripping repeated empty lines

License

Copyright for portions of project neko are held by [Github Account SynAcktraa Owner, 2022] as part of project neko

All other copyright for project neko are held by [Github Account SynAcktraa Owner, 2022].

Check the LICENSE for more details.