The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-22-2009
little_fairy little_fairy is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 2
awk: cannot open inputf

I'd like some help with awk too.

Somewhere in my bash script i have written something like this:

Code:
awk -v outputfile=$finalFile -v inputf=$file 'BEGIN { commands }
    { more commands }
        ΕND{ }' inputf
where the file is a .input file with data.

I also tried this:
Code:
awk -v outputfile=$finalFile 'BEGIN { commands }
    { more commands }
        ΕND{ }' file
But in both cases i have the following error:
awk: cannot open inputf (No such file or directory)

Any help?