You're viewing a comment by Peter Krumins and its responses.

September 29, 2008, 02:57

Miguel, thanks, i fixed that mistake.

Eduard, this is a 3 part article. This is just part one. Parts two and three coming soon.

Goofy_barny, no, it's "s=s+$i". It sums the values in each field.

Go_Obama, I also support Obama :) but for your question, do the awk '{ print NR "\t" $0 }' foo.log0 foo.log1 foo.log2 > foo.txt. The other example will put foo.log11 before foo.log2.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "coding_92": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.