Summary: Hi - How can I use awk to take names (i.e. D,Liz W,Frank) listed in one row and display in a column? First and Last Name are seperated by a "," and a ...
Summary: Hi, I am a unix newbie. I am trying the following to search for a number of words in a text file (@unix command prompt), but the entire file contents ...
Summary: The gsub commands are to get rid of extra spaces that would mess up the comparisons. I made an assumption that you do not need two or more spaces in...
Summary: Iam Beginner in scripting , I need help in scripting for Cshell (csh)environment In a directory , there is a file named test.txt , the test.txt file c...
Summary: Hi, I have a text file with the data in rows the data file has specfic pattern of rows I need to convert first 3 lines of rows into columns by doing a...
Summary: Hi, I am trying to find out how to remove the last word in a file. For example, a line in a file will contain: one two three four And I want to remove...
Summary: I need some help with a script that will do the following: 1. Does a grep for a particular word in a file. 2. If the word exists, then it checks the i...
Summary: typing 'prompt' will disable the prompt during an interctive session. Most ftp clients allow for the '-i' flag in a script to disable prompting. Check...
Summary: Hello all, I am having this SCSI reset problem. I fell it is with the drive and not the card but I am not sure I get the following from the .osm file...
Summary: All of that works exactly the same on AIX. I suspect what you want is for multiple lines in a row to all be joined (until a semicolon). So using my t...
Summary: Is there any way using the korn shell to delete all records in a file except one?? In other words if I had 6 lines in a file, could I issue one comma...
Summary: hi, sorry for alway post the question, my question is that i want to searh a record in the table. But i don't want to display out the entire row or c...
Summary: I have to send a file to mainframe and before sending it, I have to execute the quote command to set the record length. Since the file is dynamic, I d...
Summary: I need a script to uodate the entries, there are 5 entries per row, the script needs to be able to edit an individuak entry, add/del a whole row. Cons...
Summary: Hi Folks, Is there a way to insert a string of text in a database list by first locating a specific word and then inserting (or appending) a string ev...
Summary: Thanks guys, that helps. Now if I want to write the rejected records into a reject file and the records accepted into another file, I could perhaps d...
Summary: In the main body, each line that is not empty (has Number of Fields greater than zero), it accumulates into an array called "kount" the number of occu...
Summary: Here is a basic loop to look at each word in the line. I don't think you are interested in locating multiple qualifying words on the same line, so u...
Summary: hi, i need a shell script to find the position of one or more words in one line of a file and then get a number/s which is/are located in the same pos...
Summary: This awk code requires a line to start with a digit, otherwise will be ignored. If you might have valid lines with leading white space, you would nee...
Summary: I tried adding the below. $6=$6+0.0 But it still does not work. It is still displaying 0.00. I am using CentOs 5.3, could this be the problem or cou...
Summary: Hey that's great. By the way, when checking to see if a word occurs in a line (the index command), my search argument is "space word space". If my s...
Summary: Hello all, I have wriiten a script to create a html file on the fly. It is as shown below :- 1>echo " " > log.html 2>cat test.log >> log.html 3>echo "...