How to take exact word from output.?

Hi

i am writing and i want to take very first word "A924A5FC"from the below o/p

A924A5FC   0910055313 P S SYSPROC        SOFTWARE PROGRAM ABNORMALLY TERMINATED
A924A5FC   0908091913 P S SYSPROC        SOFTWARE PROGRAM ABNORMALLY TERMINATED
A924A5FC   0906090313 P S SYSPROC        SOFTWARE PROGRAM ABNORMALLY TERMINATED
A924A5FC   0905172313 P S SYSPROC        SOFTWARE PROGRAM ABNORMALLY TERMINATED
A924A5FC   0903220413 P S SYSPROC        SOFTWARE PROGRAM ABNORMALLY TERMINATED

i am using awk but it not helping me

errpt grep |  awk '{print $1}

and giving below output as

IDENTIFIER
A924A5FC
A924A5FC
A924A5FC
A924A5FC
A924A5FC

can you suggest me what should i do to get exact word.

scriptor

Assuming your output has a header line,

awk '(NR>1){print $1;exit}' yourfilename

thx a lot for prompt help.

just one more ques what is "NR" here.

NR = Number of Records ie. the current line number.

Hello scriptor,

just one more solution. Let us say your input file is

 test1_test

.

Command is as follows.

awk 'NR==1 {next} {print$1}' test1_test

Output will be as follows.

A924A5FC
A924A5FC
A924A5FC
A924A5FC
A924A5FC
$

Thanks,
R. Singh