Is there any functional-like Unix shell?

UNIX shell programming anyone?

  • Ok this will be funny: im at an exam now and i dont know any unix programming. what i require to pass would be to implement the "grep" commands' behaviour in a unix shell script (i got the suggestion to use awk but i dont seem to understand a thing outta all of the results on google. Could anyone make that awk script that reads files and searches for a certain word xD?

  • Answer:

    awk -Fs '/your_search_term/' the_file

tudor at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.