Remove first row in a list of files

Hi

I want to remove the first row in a list of files and am trying to do via the following.
I've tried various quotes to redirect the modifed file to a newly named version of itself but no joy.

Can you help?

> for i in  'ls A*'; do sed '1d' $i > $i"_complete"; done
bash: $i"_complete": ambiguous redirect

Thanks
Kieran

Try:

${i}"_complete"

instead of:

$i"_complete"
for i in `ls A*`
do 
    sed '1d' $i > "${i}_complete"
done

Instead of a loop you can also do something like:

awk 'NR>1{print > FILENAME "_complete"}' A*

Works great

Thanks for all the replies