ACME Corporation is creating its new CRYPTO exchange platform. They receive crypto data in CSV format where the first column is the crypto coin's short name and the second column is the value in US dollars. The separator is ;. For their internal needs, it is required that new output is produced wh...

Wile Ethelbert from the ACME company needs to compute some statistics about all the values in a list of CSV files in the ~/csv folder.

Wile: "That's easy! Let's start looping all the files."

The produced code is:

for f in $(ls ~/csv/*.csv); do  
    echo filename: $f 
done

By executing t...

We want to create a simple script with 2 commands:

  1. greet-eng: will print "Hello!"
  2. greet-ita: will print "Ciao!"

Anything else has to print out an error message explaining what are the accepted commands.

We end up with the following code:

#!/bin/sh

if [ $1 = "greet-eng" ] ; then...