Create a script that display the number of arguments given when you call the script
> ./exercise1 "foo" "bar" 3
The number of arguments is 3
Create a script that display the arguments as a list given when you call the script
> ./exercise2 "foo" "bar" 3
The arguments are ["foo", "bar", 3]
Create a script that display "no arguments" if you don't give any argument when you call the script and "arguments" if you give an argument
> ./exercise3 "foo" "bar" 3
arguments
> ./exercise3
no arguments
If you want to push this Exercise forward, you can try to check if the given argument is a number or not
> ./exercise3 5
This is number
> ./exercise3 "foo"
This is not a number
Create a script that display every number from 1 to 10 using a loop
> ./exercise4
1
2
3
4
5
6
7
8
9
10
If you want to push this Exercise forward, you can try to iterate over a list of arguments by displaying each argument on a new line
> ./exercise4 "foo" "bar" 5
"foo"
"bar"
5
Try to create a function that display "hello world"
> ./exercise5
hello world
You see the do_op.zip file in this repository, you can unzip it it's a program that can do some basic operations on numbers in C you can compile it with the given Makefile
Create a function that can execute the do_op program with the given arguments
> ./exercise6-1 "4 + 6"
The result of the do-op is 10
Create a function that can compare the return value of the do_op program with the expected value given as argument
> ./exercise6-2 "4 + 6"
expected: 10
Create a function that can compare the displayed text of the do_op program with the content of a file given as argument
> ./exercise6-3
(4 + 6): TEST PASSED
(3 - 2): TEST NOT PASSED
(10 / 2): TEST PASSED
- Colors ?
- layout ?
- layout 2 ?
- layout 3 ?
- display text difference ?
- read user input ?