Help for this page
Select Code to Download
Select
or
download this
@a = map{(split)[0]}@a;
Select
or
download this
perl -lane 'print $F[0] if @F' file
Select
or
download this
@a = grep!/^:/,map+(split)[0],@a;