1
rated 0 times
[
1]
[
0]
/ answers: 1 / hits: 2770
/ 2 Years ago, fri, december 24, 2021, 11:49:25
I have a file and I need to delete its first letter of each lines. I tried this:
for i in
do
if [ $5 -eq cat harfler | grep `head -n i harfler | head -c 1` ]
then
echo "succeded"
tr -d `head -n i`
fi
done
but nothing happens. Doesn't even echo "succeeded". Any idea why?
More From » bash