12-03-2011
3,
0
Join Date: Dec 2011
Last Activity: 3 December 2011, 12:46 PM EST
Posts: 3
Thanks Given: 0
Thanked 0 Times in 0 Posts
please help me to solve it
i thought about to use the commands : wc and sort cut and mybe more ..
i need to write a bash script that recive a list of varuables
kaka pele ronaldo beckham zidane messi rivaldo gerrard platini
i need the program to print the longest word of the list.
word in the output appears on a separate line and word order in the output is in the order Llachsicografi costs.
for example:
the in put is:
kaka pele ronaldo beckham zidane messi rivaldo gerrard platini
and the output is :
beckham
gerrard
platini
rivaldo
ronaldo
thank you,
for helping yair