Search last field

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

  1. The problem statement, all variables and given/known data:
    Give 'awk' script which printss last field of every line..everyline may have different number of fields.

  2. Relevant commands, code, scripts, algorithms:
    awk

  3. The attempts at a solution (include all code and scripts):
    used '\n' as deliminator..but it didnt work..I think using \n..we can do this..but I couldnt

  4. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):
    UB..CS 651

Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).

Template point 4 not fully filled.. thread closed
Have you read the note?