$ LC_ALL=fr_FR sort -k 2,2 -k 1,1 file.awk
100100 13
100200 5
Helen Bold
John Jones
Jack Smith
John Smith
nope .
is there another way of doing it? i mean like using awk or somthing
i have a question..
i have this file:
John Jones
John Smith
Jack Smith
100100 13
Helen Bold
100200 5
how can i use sort to make it look like :
Helen Bold
John Jones
Jack Smith
John Smith
100100 13
100200 5
Surname as the major key ,firstname as the minor key and numbers at the
end.
i've...
Hi
I'm using cygwin and the script below works just fine under cygwin..
when i upload it on a unix server the script fails with the following errors
-awk: syntax error near line 1
-awk: bailing out near line 1
any ideas why?
thanx
awk '($2 ~ /*/) {
if ($4 < 40){
print $1,$4,"Failed"
}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.