Computing.Net > Forums > Unix > Search Results

Quick Links

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

Sponsored Results for: Remove all \n in sed

Ads by Google


Show Within: One Month | One Year | Forever
Search Results for: Remove all \n in sed

Product Search Results


Results 1 - 25 of 26

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

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...

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? ...

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...

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 get latest updated file in a folder
    Summary: lastfile=`ls -1tr | tail -n 1` would give the last updated file or directory in the current directory, and store it in variable ...

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...

deleting a route in UNIX
    Summary: i deleted a route in routing table using route delete.. its deletes the route.. bt yet again when i use netstat to see the routing table its still th...

Sorting issues
    Summary: Ow, indeed, the old numeric-charcaters-sorting-problem .. One way of solving this issue, is to not write "1" but "00001", and not "11" but "00011". Th...

How to disconnect DB in a UNIX script
    Summary: Hi.. Thanks for your response!! I was already trying with the EOT to disonnect from DB in my script but i do get syntax error. I've just pasted with t...

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...

count the occurence of a char in a string
    Summary: hi, i would like to count the occurence of a character in a string using sed, any idea? e.g. count the no of ';' in 'abc;def;ghi;jkl' returns 3. Than...

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' ...

Split large xml file
    Summary: Hi, I have a large xml file which starts with <tele> and ends with </tele> in various occurrences. How can I cplit this file into small files.I...

file parsing
    Summary: Need to parse a file in this way: The file is a multi-line flatfile, containing whitespace separated keywords, ex. one two three four five six seven e...

UNIX..basic shell script help
    Summary: I do apologize..this is all very new to me..my first class..trying to get through some assignments..I am working on 8 different scripts right now and ...

command output running
    Summary: If I have a file (in this example, we'll call it junk.file) with one field and that field has the value of ls, then all I have to do to run the ls com...

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 ...

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 ...

Help in Substitution method
    Summary: Hi Gurus this is working finee with tested values #!/bin/ksh V_DATE="2007-11-30" V_ID=789 V_NAME="john_${V_ID}_has_${V_DATE}_s" FILE_NAME=`echo ${V_NA...

Passing parameter in Batch File through VB6
    Summary: Can u help me out pls. I need to pass the parameter in batch file which contain on SQL file. my.sql file has : conn system/orcl1012#@orcl10 create use...

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, ...

subtract single value using AWK
    Summary: If you are sure of your data, delete 2 from field 1. I do not understand the significance of the period. Well, setting FS and OFS to the period will...

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 ...

Get a week number from a date.
    Summary: Hi frnds, I donno if I amputting in the rt forum or not.But i am trying to get a week number from a given date. This code by a member on computing....

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 ...

Jump To: 1 | 2

Sponsored Results for: Remove all \n in sed

Ads by Google