G
Govinda Sakhare
Guest
i know below shell script will print each line of provided file.but how it is working? what is "read l" and "done <$1"
PS : i am new to shell scripting
#!/bin/sh
echo "Lines of file $1 are ::"
while read l
do echo -e "$l"
done < $1
exit 0
PS : i am new to shell scripting
#!/bin/sh
echo "Lines of file $1 are ::"
while read l
do echo -e "$l"
done < $1
exit 0