Computing.Net > Forums > Unix > Search Results

Quick Links

Computing.Net Solution Center
Desktop Access to Search
Ask a New Question

Sponsored Results for: wildcard in loop awk

Ads by Google


Show Within: One Month | One Year | Forever
Search Results for: wildcard in loop awk

Product Search Results


Results 1 - 25 of 6111

[higher confidence] - higher confidence, [lower confidence] - lower confidence

wildcard in loop awk
    Summary: hi all i m just stuffed in a problem if somebody can help me out i hav /etc/shadow file with enteries like bin:*:9797:0::::: daemon:*:9797:0::::: adm...

AWK in a while loop
    Summary: Hello, here is my issue - I am running a script with a while loop. I have an awk statement within the while loop that uses an incremented variable. ...

echo wildcard in variable
    Summary: hi i m iterating /etc/shadow file now i want to pick the second field which is a wild card "*" or encrypted password i m using a simple for loop #/bi...

write log in loop - ksh script
    Summary: Hello, I have a script to start 2 servers and keep a log of when they are down/restarted. The problem is in writing the log. It only writes once. ...

Regular expression in awk
    Summary: Hi, I am trying, in a awk to exlude strings that have identical characters following themselves more than 3 times, using a regular expression. I mean:...

Sort/remove subsets in a script
    Summary: OK, this will come closer to what you need.  Lines are sorted by # fields on the line (most to least).  Each line that is NOT a subset line is writt...

Awk in a script
    Summary: The first parameter is $1 and not $0 ($0 is the script name). The substitution $db is not done in the awk script : solution 1) db_found = ($4 == "'$db...

Printf in AWK
    Summary: We have the following printf statement in our AWK program. All the arguments printed are considered as strins even if they are numbers. We have found ...

How to use if/else logic in sed/awk
    Summary: Hi Folks, In sed and/or awk, how would I formulate an if/else logic to skip a command if a specific text already exist in a file? I am getting multip...

awk: prnt field val in 2nd line
    Summary: Sorry James for the confusion again; I have this code in an awk script. I find it easier to work with complex awk in a script rather than the comma...

using string variable in awk
    Summary: hello !! my awk script is something like this awk -F, 'BEGIN { getline holdline=$0 holdkey=$1$3$4 echo $holdkey k=1} function flushhold() { if (k>1) p...

ksh, for loop, awk, Error
    Summary: Working on a ksh script. Trying to run through a set of files, and return a set of files, which are unique subsets by column. Code ... __files=`ls $_...

next iteration in loop
    Summary: Hi, I am using korn script to launch an ADV+ program (a legacy language) based on certain conditions. The full script is given below. ===============...

tweaking William's awk script
    Summary: Thank you so much. I actually got that one solved by making my software guy give me a file with a delimiter of "^" instead of ",". I changed the ...

Unix, Shell Script, awk & variables
    Summary: Hi! I'm trying to use my shell script variables in my awk-line. Is not working! month3 is my variable and i'm aware that I can't use the $-prefix in a...

need help on SED script
    Summary: Does your awk script work if the filename is called directly without the loop? I don't know what to tell you. This little stub proves that a loop su...

Finding Top 3 records from a group
    Summary: Frank, We are dealing with half a million lines here. On your solution, the while loop will open and read through the input file just once, but your ...

Sum of numbers in one file
    Summary: A file processing command such as awk will let you do this without coding a while-loop: awk '{tot=tot+$1} END {print tot}' File1 or to have more contr...

Shell script
    Summary: I have a text data file that has spaces between fields and looks something like:- tom mazda keith ford mary ford I'm trying to write a shell script th...

a problem with awk
    Summary: I have used an in line awk command and it works. the same awk used in a script generate an error awk:0602-500 Quitting the source line is 1. the conte...

sed/awk - line feeds?
    Summary: I am using a ksh script to parse/analyze some text files - files that have records that are over multiple lines. I have used sed and awk in the past; ...

awk script
    Summary: I'm afraid my problem needs a bit more tweaking. That's because it needs to accomodate multiple occurances of entities of the same name. If you can ...

awk and ksh
    Summary: Hi, I have a ksh which uses seperated awk programs inside. Can i define a variable in the ksh and then using awk to refer to it? eg under ksh i have ...

How to use AWK command
    Summary: NAME=`echo $fic | awk -F"." '{print $1 $2 $3}' awk -F"." uses . as field seperator. But if cut is doing all that you want, what;s the big point in usi...

Regarding the linitations of the awk
    Summary: Hi Please get back to me if anyone knows the limitations ( such as maximum number of lines, or max functions or etc except the one given in the AWK an...

Jump To: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | >>

Sponsored Results for: wildcard in loop awk

Ads by Google