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 Chriss Miller 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: moonring
  • Content: Threads
  • Order by date
  1. moonring

    How to disable error 0xc000007b - Win XP Home ?

    Hi all, I have an Asus eePC netbook with Win XP Home SP3, and I'm having some issues with the error messages: This usually happens after I open the web browser ( FireFox ). I did some research and they point to either a virus, a .NET or other program uninstall. This is a new netbook, used from...
  2. moonring

    Can't copy files from external drive

    Hi, I have a SimpleTech external hard drive ( formatted as NTFS ), and a few days ago I needed to reformat my PC ( Windows XP ), so I copied my docs, my pictures, etc, to this external drive. So far so good. After I reformatted my PC ( again installed Win XP ), I tried to copy the files back...
  3. moonring

    Making sense of {print x}{x=$0}

    Hi, I'm trying this awk one-liner: Input aaa bbb ccc awk '/bbb/{print x}{x=$0}' file Output aaa So this code prints always the previous line, of the line where the pattern /bbb/ is found. I'm trying to make sense of it, but it seems difficult. It looks like when /bbb/ is found, x in...
  4. moonring

    Better way of accessing an AWK output

    Hi, Let's assume in a shell script we have an awk code that does processing of input, and after it has been processed inside AWK, I need to make that value accessible outside of AWK for further processing in the script. Currently I'm using a temporary file to store that value to have it later...
  5. moonring

    Simultaneous multiple files processing

    - Hi all, While trying on a problem that involved three files, I got stuck on how to proccess them simultaneously by AWK. I know that it can be done for two files, but for three I'm not sure, say compare a field from third file, with another field in file two, then from the result do...
  6. moonring

    Integer in AWK statement & access an array

    Hi everybody, I've been looking up and down and I haven't found a satifactorily answer to this. What is the meaning of a single number in an awk statement, as in this piece of code, which removes the commas from the lines of a file: awk 'BEGIN{FS=","}{$1=$1; OFS=""}1' file # here...
  7. moonring

    break n & continue n in awk multiple loops

    Hi, Does awk , gawk support break n or continue n from awk multiple for or while loops, similar to bash shell break n and continue n.For example: for (i=1; i<=x; i++) actions.... for (j=1;j<=y; j++) other actions.... break 2 # Is this supported ?

Part and Inventory Search

Back
Top