haruue / args

args in many computer languages. This project is inspired by https://github.com/leachim6/hello-world.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

args

args in many computer language.

What is the args

args is a program that prints all cmdline arguments passed to it along with their index, in the format "argv[%d]=%s\n".

$ args a "b c" '\$RANDOM' ~ the_path_is_not_exists_*
argv[0]=args
argv[1]=a
argv[2]=b c
argv[3]=\$RANDOM
argv[4]=/home/haruue
argv[5]=the_path_is_not_exists_*

It is useful if you want to check what's processed by shell and what's the program really got.

Contributing

Feel free to add your favorite computer language by open a Pull Request.

About

args in many computer languages. This project is inspired by https://github.com/leachim6/hello-world.

License:MIT License


Languages

Language:Kotlin 17.1%Language:Java 15.6%Language:Lua 14.1%Language:Shell 9.8%Language:JavaScript 9.6%Language:Rust 7.2%Language:C++ 7.0%Language:C 6.0%Language:Go 5.3%Language:Python 4.7%Language:PHP 3.6%