Unix Shell - Re: Read strings from one file and search for them in a directory containing htm files

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > November 2005 > Re: Read strings from one file and search for them in a directory containing htm files





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Read strings from one file and search for them in a directory containing htm files
Meghavvarnam

2005-11-23, 5:54 pm

Janis Papanagnou wrote:
> Meghavvarnam wrote:
>
> All variables are either "" (empty string) or 0 (numeric zero) when
> you access them the first time.
>
>
> On Unix you can define as first line in your script
>
> #!/bin/awk -f
>
> (or whereever your awk is installed), or you can call the awk interpreter
> explicitly with the file
>
> awk -f file_with_your_awk_program
>
> or with the program (not recommended for programs of non-trivial size)
>
> awk '...awk-statements...'
>
>
>
> It's like in other computer laguages, the brackets must match
>
> { for (string in strings)
>
>

I do have a closing brace for that. My intention was to paste just the
modified part and leave out the original script that Ed had put out
over here.

Thanks anyway for your inputs Janis.

Warm Regards,
Megh

>
> Janis


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com