###### Has the requirement for the allowed packages been respected? (Reminder for this project: only [standard packages](https://golang.org/pkg/))
###### Has the requirement for the allowed packages been respected? (Reminder for this project: only [standard packages](https://golang.org/pkg/))
##### Try passing as arguments `""banana" --color red"`
##### Try passing as arguments `"banana" --color red`.
```
```
Usage: go run . [STRING] [OPTION]
Usage: go run . [STRING] [OPTION]
@ -52,11 +52,11 @@ EX: go run . something --color=<color>
###### Does it display the expected result?
###### Does it display the expected result?
##### Try passing as arguments a random string with special characters, and a random color in the color flag ("--color="), specifying one letter to be coloured.
##### Try passing as arguments a random string with special characters, and a random color in the color flag ("--color="), specifying one letter to be colored.
###### Does it display the expected result?
###### Does it display the expected result?
##### Try passing as arguments a random string with lower, upper case, spaces and numbers letters and a random color in the color flag ("--color="), specifying a set of letters to be coloured.
##### Try passing as arguments a random string with lower, upper case, spaces and numbers letters and a random color in the color flag ("--color="), specifying a set of letters to be colored.
###### Does it display the expected result?
###### Does it display the expected result?
@ -88,4 +88,5 @@ EX: go run . something --color=<color>
#### Bonus
#### Bonus
###### +Can you use for the flag "--color=" different notation? (ex: `--color=red`, `--color=#ff0000`, `--color=rgb(255, 0, 0)` or `--color=hsl(0, 100%, 50%)`)
###### +Can you use for the flag "--color=" different notation?
You must follow the same [instructions](../README.md) as in the first subject but the second argument must be the name of the template. I know some templates may be hard to read, just do not obsess about it. Please...
You must follow the same [instructions](../README.md) as in the first subject but the second argument must be the name of the template. I know some templates may be hard to read, just do not obsess about it.
@ -165,7 +165,7 @@ o-O-o o o-o o o o-o o o o | o o o--O $
###### Is the file system well organized?
###### Is the file system well organized?
###### As an auditor, is this project up to every standard? If not, why are you failing the project?(Empty Work, Incomplete Work, Invalid compilation, Cheating, Crashing, Leaks)
###### As an auditor, is this project up to every standard? If not, why are you failing the project?(Empty Work, Incomplete Work, Invalid Compilation, Cheating, Crashing, Leaks)
Example : go run . something standard --align=right
```
```
###### Does it display the same result as above?
###### Does it display the same result as above?
@ -76,7 +76,7 @@ EX: go run . something standard --align=right
###### Does it display the expected result?
###### Does it display the expected result?
###### As an auditor, is this project up to every standard? If not, why are you failing the project?(Empty Work, Incomplete Work, Invalid compilation, Cheating, Crashing, Leaks)
###### As an auditor, is this project up to every standard? If not, why are you failing the project?(Empty Work, Incomplete Work, Invalid Compilation, Cheating, Crashing, Leaks)
###### Has the requirement for the allowed packages been respected? (Reminder for this project: (only [standard packages](https://golang.org/pkg/)
###### Has the requirement for the allowed packages been respected? (Reminder for this project: (only [standard packages](https://golang.org/pkg/))
##### In a file called `sample.txt`, place the following text (without the double quotes): "If I make you BREAKFAST IN BED (low, 3) just say thank you instead of: how (cap) did you get in my house (up, 2) ?". Now run the student program with the arguments: `sample.txt result.txt`.
##### In a file called `sample.txt`, place the following text (without the double quotes): "If I make you BREAKFAST IN BED (low, 3) just say thank you instead of: how (cap) did you get in my house (up, 2) ?". Now run the student program with the arguments: `sample.txt result.txt`.
##### After downloading the [file](https://assets.01-edu.org/stats-projects/linear-stats) and giving executable permissions, run the script with `./linear-stats` and then run the program of the student with the created `data.txt` by the previous command.
##### After downloading the [file](https://assets.01-edu.org/stats-projects/linear-stats) and giving executable permissions
##### Run the script with `./linear-stats`, then run the program of the student with the created file (`data.txt`) by the previous command.
###### Are the outputs of both programs (the one provided and the student one) in the same format?
###### Are the outputs of both programs (the one provided and the student one) in the same format?
@ -28,7 +28,7 @@ This data represents a graph in which the values of the x axis are the number of
To run your program a command similar to this one will be used if your project is made in Go:
To run your program a command similar to this one will be used if your project is made in Go:
```sh
```sh
>$ go run your-program.go data.txt
$> go run your-program.go data.txt
```
```
After reading the file, your program must execute each of the calculations asked above and print the results in the following manner (the following numbers are only examples):
After reading the file, your program must execute each of the calculations asked above and print the results in the following manner (the following numbers are only examples):
##### After downloading the [file](https://assets.01-edu.org/stats-projects/math-skills) and giving executable permissions, run the script with `./math-skills` and then run the program of the student with the created `data.txt` by the previous command.
##### After downloading the [file](https://assets.01-edu.org/stats-projects/math-skills) and giving executable permissions
##### Run the script with `./math-skills`, then run the program of the student with the created file (`data.txt`) by the previous command.
###### Are the outputs of both programs (the one provided and the student one) in the same format?
###### Are the outputs of both programs (the one provided and the student one) in the same format?
- my-ls-1 consists on creating your own `ls` command.
- my-ls consists on creating your own `ls` command.
- The `ls` command shows you the files and folders of the directory specified after the command. By exclusion of this directory, it shows the files and folders of the present directory.
- The `ls` command shows you the files and folders of the directory specified after the command. By exclusion of this directory, it shows the files and folders of the present directory.
###### Has the requirement for the allowed packages been respected?
###### Has the requirement for the allowed packages been respected?
##### Run both my-ls-1 and the system command `ls` with no arguments.
##### Run both my-ls and the system command `ls` with no arguments.
###### Does it display the same files and/or folders in the same order?
###### Does it display the same files and/or folders in the same order?
##### Run both my-ls-1 and the system command `ls` with the arguments: `"<file name>"`.
##### Run both my-ls and the system command `ls` with the arguments: `"<file name>"`.
###### Does it display the same file?
###### Does it display the same file?
##### Run both my-ls-1 and the system command `ls` with the arguments: `"<directory name>"`.
##### Run both my-ls and the system command `ls` with the arguments: `"<directory name>"`.
###### Does it display the same files and/or folders in the same order?
###### Does it display the same files and/or folders in the same order?
##### Run both my-ls-1 and the system command `ls` with the flag: `"-l"`.
##### Run both my-ls and the system command `ls` with the flag: `"-l"`.
###### Does it display the same files and/or folders with the same display?
###### Does it display the same files and/or folders with the same display?
##### Run both my-ls-1 and the system command `ls` with the arguments: `"-l <file name>"`.
##### Run both my-ls and the system command `ls` with the arguments: `"-l <file name>"`.
###### Does it display the same file with the same display?
###### Does it display the same file with the same display?
##### Run both my-ls-1 and the system command `ls` with the arguments: `"-l <directory name>"`.
##### Run both my-ls and the system command `ls` with the arguments: `"-l <directory name>"`.
###### Does it display the same files and/or folders with the same display?
###### Does it display the same files and/or folders with the same display?
##### Run both my-ls-1 and the system command `ls` with the flag: `"-l /usr/bin"`.
##### Run both my-ls and the system command `ls` with the flag: `"-l /usr/bin"`.
###### Does it display the same files and/or folders with the same display? Be aware of symbolic links.
###### Does it display the same files and/or folders with the same display? Be aware of symbolic links.
##### Run both my-ls-1 and the system command `ls` with the flag: `"-R"`, in a directory with folders in it.
##### Run both my-ls and the system command `ls` with the flag: `"-R"`, in a directory with folders in it.
###### Does it display the same files and/or folders?
###### Does it display the same files and/or folders?
##### Run both my-ls-1 and the system command `ls` with the flag: `"-a"`.
##### Run both my-ls and the system command `ls` with the flag: `"-a"`.
###### Does it display the same files and/or folders in the same order?
###### Does it display the same files and/or folders in the same order?
##### Run both my-ls-1 and the system command `ls` with the flag: `"-r"`.
##### Run both my-ls and the system command `ls` with the flag: `"-r"`.
###### Does it display the same files and/or folders in the same order?
###### Does it display the same files and/or folders in the same order?
##### Run both my-ls-1 and the system command `ls` with the flag: `"-t"`.
##### Run both my-ls and the system command `ls` with the flag: `"-t"`.
###### Does it display the same files and/or folders in the same order?
###### Does it display the same files and/or folders in the same order?
##### Run both my-ls-1 and the system command `ls` with the flag: `"-la"`.
##### Run both my-ls and the system command `ls` with the flag: `"-la"`.
###### Does it display the same files and/or folders in the same order?
###### Does it display the same files and/or folders in the same order?
##### Run both my-ls-1 and the system command `ls` with the arguments: `"-l -t <directory name>"`.
##### Run both my-ls and the system command `ls` with the arguments: `"-l -t <directory name>"`.
###### Does it display the same files and/or folders in the same order?
###### Does it display the same files and/or folders in the same order?
##### Run both my-ls-1 and the system command `ls` with the arguments: `"-lRr <directory name>"`, in which the directory chosen contains folders.
##### Run both my-ls and the system command `ls` with the arguments: `"-lRr <directory name>"`, in which the directory chosen contains folders.
###### Does it display the same files and/or folders in the same order?
###### Does it display the same files and/or folders in the same order?
##### Run both my-ls-1 and the system command ls with the arguments: `"-l <directory name> -a <file name>"`
##### Run both my-ls and the system command ls with the arguments: `"-l <directory name> -a <file name>"`
###### Is the output displayed the same way?
###### Is the output displayed the same way?
##### Run both my-ls-1 and the system command ls with the arguments: `"-lR <directory name>///<sub directory name>/// <directory name>/<sub directory name>/"`
##### Run both my-ls and the system command ls with the arguments: `"-lR <directory name>///<sub directory name>/// <directory name>/<sub directory name>/"`
###### Is the output displayed the same way? Number of `/` must be the same.
###### Is the output displayed the same way? Number of `/` must be the same.
##### Run both my-ls-1 and the system command ls with the arguments: `"-la /dev"`
##### Run both my-ls and the system command ls with the arguments: `"-la /dev"`
###### Does it display the same files and/or folders with the same display? Do not pay attention to ACL permission flag.
###### Does it display the same files and/or folders with the same display? Do not pay attention to ACL permission flag.
##### Run both my-ls-1 and the system command ls with the arguments: `"-alRrt <directory name>"`, in which the directory chosen contains folders and files within folders. Time of modification of all files within that folder must be the same.
##### Run both my-ls and the system command ls with the arguments: `"-alRrt <directory name>"`, in which the directory chosen contains folders and files within folders. Time of modification of all files within that folder must be the same.
###### Is the displayed output the same?
###### Is the displayed output the same?
##### Create directory with `-` name and run both my-ls-1 and the system command ls with the arguments: `"-"`
##### Create directory with `-` name and run both my-ls and the system command ls with the arguments: `"-"`
Push-swap is a very simple and highly effective algorithm. You have at your disposal a list of `int` values, two stacks (`a` and `b`) and a set of instructions.
Push-Swap is a very simple project that uses a Non-Comparative Sorting Algorithm. You have at your disposal a list of `int` values, two stacks (`a` and `b`) and a set of instructions.
You will have to write 2 programs:
You will have to write 2 programs:
@ -161,3 +161,6 @@ This project will help you learn about :
###### As an auditor, is this project up to every standard? If not, why are you failing the project?(Empty Work, Incomplete Work, Invalid compilation, Cheating, Crashing, Leaks)
###### As an auditor, is this project up to every standard? If not, why are you failing the project?(Empty Work, Incomplete Work, Invalid Compilation, Cheating, Crashing, Leaks)