cat and wc options

Hi there

Can anyone tell me how to concatenate everything except the first line from one file to another.

right now I'm just doing
cat file1 >> file2, but I don't want the first line copied.

Also, does anyone know how to get a word count on every file with no file extension and execute permissions for others.
I've done this for all c files by the command
find . -name "*.c" -print | wc -l

but when I ealier found the files with no file extension and execute permission for others I used:

find "$argv[1] " -name "*" " grep -v "\."
foreach file (file2)
if (! -d $file && -x $file) then
.....

and I don't know how to incorporate this definition into a word count.

Thank for any help
Laura

try this ...

tail -n +2 file1 >> file2

then

ls | tr '.' '+' | grep -v "+" > output

for x in `cut -f1 -d" " output`
do
wc -l $x
done

:slight_smile: