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
Related Q & A:
- How come CD doesn't work in my shell script?Best solution by Super User
- Unix tools: what if a file is named minus something?Best solution by Super User
- How to execute Unix shell script from Windows?Best solution by Stack Overflow
- How to Convert a Procedural Programming into Object-Oriented Programming?Best solution by Stack Overflow
- What does a Unix System Administrator do?Best solution by eHow old
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.