Solution for the function in shell
Solution for the function in shell

i used "case" functionality to reduce the number of line. if it not proposable let me know i'll give a solution using "if"
daftano/interactive-tutorials,revzim/interactive-tutorials,ronreiter/interactive-tutorials,GenericSnake/interactive-tutorials,like9729/interactive-tutorials,ubear/interactive-tutorials,ubear/interactive-tutorials,ubear/interactive-tutorials,daftano/interactive-tutorials,like9729/interactive-tutorials,revzim/interactive-tutorials,daftano/interactive-tutorials,revzim/interactive-tutorials,revzim/interactive-tutorials,ronreiter/interactive-tutorials,like9729/interactive-tutorials,GenericSnake/interactive-tutorials,daftano/interactive-tutorials,ubear/interactive-tutorials,ronreiter/interactive-tutorials,like9729/interactive-tutorials,GenericSnake/interactive-tutorials