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: chlfc
  • Order by date
  1. chlfc

    ignore certain rows and find average of other's colums

    i feel stupid, figured it out. turns out i was dividing somethig, put an equal sign and then put the division equation again
  2. chlfc

    ignore certain rows and find average of other's colums

    wish you could edit old posts. Anyway, I got it to run at least, using the #!/bin/bash then using a $@ at the end after the last quote. However, now it says (FILENAME=<input2> FNR<last line of second input>) fatal: division by zero attempted
  3. chlfc

    ignore certain rows and find average of other's colums

    I tried running the script using the awk -f <source> <input1file> <input2file> and it gives me an invalid char error pointing to the ' after the awk in the scipt
  4. chlfc

    ignore certain rows and find average of other's colums

    hey guys when i try to run the script, it just shows a blank line, I have to press ctrl+c to get back to the prompt
  5. chlfc

    ignore certain rows and find average of other's colums

    the number of rows do not include the ones with 811 at the beginning right?
  6. chlfc

    ignore certain rows and find average of other's colums

    Hey guys, I'm new to awk, basically I have an input file, two columns, first I want to ignore rows with the first column that start with a certain string, and with the rest, I want to find the average. How would I do this? e.g 8113442352 56 8325423535 99 8114525445 80 4526693345 97 4526426535...

Part and Inventory Search

Back
Top