Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: yfm
  • Order by date
  1. yfm

    AWK syntax error

    Thanks! How do you think, are these flags necessary? or i could just reassign NR to different lines and build the condition only on it?
  2. yfm

    AWK syntax error

    Could you tell me about that in a more detailed way? how do "%d" and "%s" work?
  3. yfm

    AWK syntax error

    At the moment the batch doesn't work - it only creates a file named "--rf.tmp" that contains a path to the folder, where it is executed and the code of the nfeat.bat - "awk -vbr=%2 -f line.awk".
  4. yfm

    AWK syntax error

    Thanks. The sample input file is attached below. All of them have the same structure. The name is also the same except the number (0 in the attached file, it changes as it's said above - from 0 to 60 000 with the step of 3 000) The output file should contain 21 lines of the same structure. Each...
  5. yfm

    AWK syntax error

    Thanks a bunch! Could you recommend me some faqs or something like that about batch syntax? I ain't sure about it... And another question - I've tried to execute line.awk for one file directly from cmd and the result was wrong - it only printed 2 values in a column, while there should be more...
  6. yfm

    AWK syntax error

    I'm trying to create a batch which would call awk program and run it for several files, storing the result. I attach my pathetic attempt herehttp://www.mediafire.com/?addmwgvxwbz3g8i
  7. yfm

    AWK syntax error

    here %2 depicts the variable, which was earlier introduced in the batch file and refers to filename (it takes values of 0, 3000, 6000 and so on up to 60000) the point is to print for example 3.0 for 3000 and so on, and then after a spce to print the fifth field... AWK marks all the gaps like errors
  8. yfm

    AWK syntax error

    I'm a newbie to AWK and now i need to write a script that would extract some numerical values from the source file and print them in an appropriate way to an output file. AWK reports a syntax error concerning operator "if" and { -like gaps. I don't know, what is the problem, everything seems to...

Part and Inventory Search

Back
Top