[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LIG] PLEASE HELP IF POSSIBLE... A small problem
> >In the questions there's a question like getting the input from a user and to
> >determine whether the input is a palindrome or not. If they had asked me
> >to do so in C I could have done very easily, but here I don''t know how to
> >reverse a string using the regular UNIX commands.
have a look at the "cut" filter
man cut should help.
Stephen jerked his thumb towards the window, saying, "That is God"
"Hooray! Ay! Whrrwhee!"
"What?" Mr Deasy asked.
"A shout in the street," Stephen answered, shrugging his shoulders.
-- James Joyce, Ulysses