Can anyone recommend a "vi" editor that works in Windows XP? I would rather use a recommended vi editor that just going out and finding one on-line. I am very familar with vi, I'm looking for one someone can use on their PC for training.
Lookup Parameter Name From File1 Get Detailed Data From File 2
Using awk95 on Windows XP
I have one file that contains multiple lists. Each list begins with @NAME:, followed by the list name. Each list contains a list of parameter names. Each parameter name begins with @PARAM:. The @NUM_PARS...
THIS IS THE CODE I AM USING. I AM RUNNING AWK ON SGI IRIX.
{if ( $1~/@NAME/ && $2~/ASalarm_HBT_SS/ ) {a=$2} {t1=1}}
{if ( /@ENABLE_LIMITS:/ ) {b=$0} {t2=1}}
{if (t1==1 && t2==1) printf "%s %s", FILENAME " " a, b "\n"}
{a=""} {b=""} {t1=0} {t2=0}
{if (/@FMT/) {printf...
The four lines below are sample data I am trying to pull out of the blocks of @NAME, @DESC… data. If you examine the @NAME and @DESC data, you will see the data always begin with @NAME and @DATA and they always end with an @FMT statement. Everything else in between is not consistent other than...
NEED HELP CHANGING FORMAT OF OUTPUT FROM TWO LINES FOR EACH BLOCK OF DATA READ TO ONE LINE OF OUTPUT. Using C-Shell
THIS IS WHAT I GET: OUTPUT IS SPLIT INTO TWO LINES
ws8 94% awk -f /usr/tmp/get_par.awk DATA.par
AS HARDDEF
SPAR VEH ALARM HEARTBEAT
AS COMMAND
SPAR VEH ALARM HEARTBEAT
RV...
I'm using ls & awk to generate a (small) numbered list of files ending in .art. Rather than having the user enter the long filename, I want to pick a number and pass the respective filename on to the next command. Here's what I have so far:
ls -lh *.art | awk '{ print NR, ":\t", $5, "\t",$6, $7...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.