Search Results

Search: Posts Made By: shekharjchandra
3,045
Posted By panyam
I did a search on this forum , and got ...
I did a search on this forum , and got



Documentation says 99 is the max value for NF:

HPUX 11.0 awk supports 199. gawk on our old RH box is 255.

As you may guess, there are several...
13,662
Posted By methyl
Well if i can Google the error... ...
Well if i can Google the error...
https://www.unix.com/unix-dummies-questions-answers/27088-error-could-not-open-dev-kbd-get-keyboard.html
1,894
Posted By kevintse
You probably need unix2dos and dos2unix. ...
You probably need unix2dos and dos2unix.
Windows uses 0x0d0a as newline, while Unix uses 0x0a.
3,182
Posted By Scrutinizer
remarkable, this then? nawk -F"|" -v...
remarkable, this then?
nawk -F"|" -v var1="${v_projectname}" -v var2="${v_networkid}" ' {
fn="ABS_" (length($1)==4?"ADDR":"SLICE") "_" var1 "_" var2 ".txt"
print > fn
}' infile
could you...
3,182
Posted By ctsgnb
Lol ... Ok :D
Lol ... Ok :D
3,182
Posted By Franklin52
Try this: awk -F"|" -v aa="xxxx" -v bb="yyyy" '...
Try this:
awk -F"|" -v aa="xxxx" -v bb="yyyy" ' {
fn=length($1)==4?"A":"B"
print > "ABS_" fn "_" aa "_" bb ".txt"
}' file
3,866
Posted By ctsgnb
Some awk and/or nawk version support without...
Some awk and/or nawk version support without space ;)
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 02:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy