Summary: William was kind enough to help me with the following awk script to convert fields into vCal standard items. It works beautifully in testing, but I...
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 ...
Summary: Hi, I am trying to find an awk command or an unix script equivalent to do the following. I have the following txt file 1234 script.sh param1 param2 2...
Summary: I need to inverse a matrix given in a file. The problem is I'm stuck with writing determinant finding algoritm into code. I found this algoritm about ...
Summary: If I've interpreted your requirements correctly, this awk script should do it: #!/bin/ksh awk ' { # skip the first field for (i=2; i<=NF; i++...
Summary: I have a text file that I am trying to format. A portion of the file looks like the example below. area1 cat1 area1 cat2 area1 cat3 area1 cat4 area2 ...
Summary: Hi Jim, Thanks for your help. I think we are getting close to understanding the problem. The Fortran program indeed creates lines only 84 characters l...
Summary: Hello! I am trying to write an awk script which find a value, gets the value next to it, then prints out the second value and the number of times it o...
Summary: I'm new with AWK script. I have an awk script and inside this script, I want to call other shell script or awk script to run. How to call other shell ...
Summary: Dear all I have an awk script as below. I would like the script to do the if condition based on the number that pics from the subsrt command and then ...
Summary: Neil, I wanna use following same shell script which is wrapper for awk script. The input for this script is DataFile1. The same script should work for...
Summary: OK, it seems that I'm trying to create a script in AWK that basically looks for two fields in a user log file, but here's the catch: both of the match...
Summary: Hi! I need to create a awk script to remove 2 form feed marks from the beginning of the file. To make sure it will not print 2 empty pages. I cannot m...
Summary: HI there, I'm now have the situation like this: I have a file called disk.hog that stores login names in the 1st field n usage limit in the 2nd. I nee...
Summary: I need to convert this in to perl does anyone know how? db=$1 dblist=listdb.txt nodelist=node_directory.txt servicelist=services.txt awk -v find_db="$...
Summary: I provide several solutions, most of which needs the less-than-sign. But that character has special meaning to this web page, just like in unix, and ...
Summary: Some explanations about the script -F "=" Set the internal awk variable FS to "=".,this specify the field separator value. NF >= 2 { . . . . } Select...
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...
Summary: I am a Windows user trying to learn how to use Unix, so forgive me if I need short-bus type answers. Can someone help me with this issue? I need to u...
Summary: Hi, Im trying to set variables in awk script but does not work, I dont know what Im doint wrong, this is my script. #!/bin/sh snmp-cpu="`snmpwalk -v ...
Summary: How do you count and display the frequency of occurrence of each letter in alphabet (ignore case).For example abc as input file. This is a script I fo...