16 lines
181 B
Bash
Executable File
16 lines
181 B
Bash
Executable File
#!/bin/bash
|
||
set -o errexit
|
||
set -o nounset
|
||
if [[ $# != 1 ]]; then
|
||
echo "usage : $0 <fichier>"
|
||
exit 1
|
||
fi
|
||
fich="$1"
|
||
while read ligne
|
||
do
|
||
echo "${ligne}"
|
||
done < "${fich}"
|
||
exit 0
|
||
|
||
|