You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
## cl-camp5
|
|
|
|
|
|
|
|
### Instructions
|
|
|
|
|
|
|
|
"keep looking..."
|
|
|
|
|
|
|
|
Create a file `lookagain.sh`, which will look for, from the current directory and its sub-folders all the files:
|
|
|
|
|
|
|
|
- all the files ending with `.sh`.
|
|
|
|
|
|
|
|
That command will only show the name of the files without the `.sh`.
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
```console
|
|
|
|
student@ubuntu:~/piscine/test$ export HERO_ID=1
|
|
|
|
student@ubuntu:~/piscine/test$ ./lookagain.sh | cat -e
|
|
|
|
file1$
|
|
|
|
file2$
|
|
|
|
file3$
|
|
|
|
student@ubuntu:~/piscine/test$
|
|
|
|
```
|
|
|
|
|
|
|
|
### Hint
|
|
|
|
|
|
|
|
A little `cut`ing might be useful...
|