Computing.Net > Forums > Unix > Search Results

Quick Links

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

Sponsored Results for: awk,sed script

Ads by Google


Show Within: One Month | One Year | Forever
Search Results for: awk,sed script

Product Search Results


Results 1 - 23 of 23

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

Compare two files using awk or sed, add value
    Summary: Hi All, I have two files file1: abc,def,ghi,5,jkl,mno pqr,stu,ghi,10,vwx,xyz cba,ust,ihg,4,cdu,oqw file2: ravi,def,kishore ramu,ust,krishna joseph,stu...

How to use sed editor in a shell script
    Summary: Nails, It worked like a charm. Thanks for the response. Now as i am new to shell scripting and sed itself, i guess you don't mind helping me on this o...

Scripting Problem
    Summary: Hi There. I am running a unix script that ftp's into an as/400 i-series server and downloads files into a unix filesystem. These files are all suffix...

printing all lines after grep using awk
    Summary: To print the line with the search_pattern and all lines there after: /sbin/chkconfig --list | awk '/xinetd based services/ {f=1}f' ...

command output running
    Summary: Often found myself writing commands similar to this: <whatever command> | awk -F"a=" ' { print $2 } ' | awk ' { print "a=" $1 } ' > temp.sh This to...

subtract single value using AWK
    Summary: I would like to subtract a single value to a file using awk. It has been quite difficult to figure out how ? What I wanted to do is : I have a file th...

How to disconnect DB in a UNIX script
    Summary: How to disconnect DB connectivity in a UNIX script. I have connected to a DB using sqlplus command in UNIX shell script. I need to know how to check t...

UNIX..basic shell script help
    Summary: I am new to Unix and working on some simple shell scripts..Q. Create a script file that sums the numbers passed to it as arguments on the command ...

Sorting issues
    Summary: I did a variation of what tvc suggested. If you want to keep the original text, you need to do more than strip out the numbers. Here is what the fol...

Shell Script
    Summary: Hi All, I want a shell script which need to monitor the log file and take the last 10 min update data and put it into a file. Please help me, Please ...

count the occurence of a char in a string
    Summary: Hi: The internal awk command gsub function , substitutue globally function, returns the number of substutuions made. I'm using Solaris nawk: #!/bin/ks...

In Tcl, exec script & get variables exported
    Summary: I have a script file, where I wrote:'VAR1=7; export VAR1'. Now, I'm programming in Tcl. I need the variable VAR1 to be loaded from the script file, ...

Split large xml file
    Summary: Can I do it with a shell script? If so, how I will read the file?Since it is xml, my entire file looks to like single line. ...

Search and replace
    Summary: In my file, I want to search all occurrences of '/>' and replace the same by a new line '\n' . How can I do this with sed? ...

Add header and footer
    Summary: Hi Gurus, I use below script to add header and trailer to files in a folder. When executed, it is removing the " of 4.5 & yyy.xsd from the header. Ca...

how to seach and replace a value using shell
    Summary: The decimals are the hardest part, since maths on unix tend to be non-decimal based. Let's start with non-decimals: You can get the values of those le...

file parsing
    Summary: One way is to use awk to check if field 2 matches string "two": #!/bin/ksh var="two" awk '{ if(match($2,v1) > 0) print $0 }' v1=${var} da...

Separating the Columns based on ColumnSize
    Summary: echo xxx | awk '{ print substr($1,1,3) "~" substr($2,1,2) "~" $3 }' AWK by defaults treats all inputs as text ...

Read/Search file being written to
    Summary: There is a process writing to LOG_FILE_NEW. The following is a piece of code to rename LOG_FILE_NEW to LOG_FILE once you get a result (either RUNNING ...

Add file name end of line in every row
    Summary: Hi I try to add file name in end of the line of every row.Its work one file. but same code is not work other same type of file File Data: A,VF-NL...

I need a help from you. i am new to shell scr
    Summary: I need a help from you. i am new to shell scripting. please help on this script. i want a script monitor the log file and take the last 10 min update ...

Parse a filename
    Summary: I need a script to strip part of the filenames. I have a mainframe background, so this unix stuff is so new to me. I can do it with many lines of co...

How to send mails from unix to lotus notes
    Summary: The above is likely the correct way to do it....only I believe you would want the file to copy text from to be "output.out" if that is the name of the...

Jump To: 1

Sponsored Results for: awk,sed script

Ads by Google