Quick Links
Computing.Net Solution CenterDesktop Access to SearchAsk a New Question
Sponsored Results for: Remove all \n in sed
Search Results for: Remove all \n in sed
Product Search Results
Results
1 - 25 of
6580
- higher confidence,
- lower confidence
Remove all \n in sed Summary: I currently have an awk that removes all new lines and works fine, but I'd like to do it in a sed file since everything else is happeing in the sed f...
delete text in sed Summary: How to delete a character that is before the last character in all the lines in sed? plz...........do this favour for me sun...
Delete all files in sub-dir +10 old Summary: find command is recursive....it will delete all files in your sub directories of /archive as well according to the condition that you have given to it...
parameters in sed Summary: Hi I am using sed in a shell script. I am having problems in using parameters in sed for search and replace. TEST=`grep "'/" source | head -1` sed s/...
Conditional tests in SED or AWK Summary: It's a little complicated and I don't have time to implement it. The pseudo code is as follows. Notes: 1. attach each line with the sequence # 2. use ...
Removing a lines in a file Summary: How can I remove a line in a file? e.g. File containing the following 307 319 352 If I wanted to remove line 319, what would be the syntax? Any alive ...
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...
Smartrm and backup cript needed Summary: Hi! I have two questions. It's already 1.15 AM :( can't solve it. May be somebody will help? 1) Write a sript caled smartrm which will accept an unlim...
Bourne Shell script Summary: Actually, looks pretty good. Here is what I found: a) Your code for optionally creating the junk directory needs to be at start of script since the i...
Using find -exec and grep possible? Summary: Hi, I'm trying to use a combination of find -exec and grep with little success. Basically, I need a script to search for files modified within the la...
script to remove some lines in all Summary: Hi everyone, I am trying to remove some lines from all the files in a directory, for example I am looking at the fields 25-27 and if it is 19 I am tr...
sed and shell script question Summary: Following script should do what you want: #!/bin/sh mv master.ics master.old cp master.heading master.new if [ -f master.ics ] ; then ___print "Could ...
Script to Remove lines from a file Summary: I was wondering if you could help me with a script to remove ALL the lines in a file that contain the word "BOUNDARY". I have the script like this so...
script in sed Summary: Yes, that code eliminates empty (null) lines. For each null line encountered, it pulls the next line into the pattern space (main work buffer), then ...
Sed, search/replace w/in range Summary: I have a text file containing 100's of thousands of rows. For each line in the file, I want to remove the pipe | character if it exists between posit...
Check for new file, exec sql*plus Summary: For repetitive executions, you need to choose either to go with cron or to make your script a sleeper script. You can schedule it in cron to run as fr...
cancel the enter key in a text Summary: Thank you Fishmonger. Yes I need to lemmatize a corpus and I need to remove all line endings. The enter key seems to disturb the lemmatizing process. ...
removing CR in middle of eachrecord Summary: Hi I have a comma delimited data file. I would like to delete CR, LF chars (ie. 015, 012) that appears in the middle of each record. I have used tr -d...
Need to remove all Dup lines Summary: Hello All I have a small problem and have no idea how to complete it. I have a script that is colleting all the info I need script below. *********...
Remove Last Word in File 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...
problem in variable Summary: The ${var#pat} and ${var%pat} constructs do not recognize begin-of-line and end-of-line anchors because their logic is already targeted to either the ...
Comparing all files in current dir Summary: The 'for fn...' loop lists all of the files so that they can be compared with the file master. What you want is that instead of master, the second fi...
Remove special characters Summary: HI all, I'm writing a KSH script which trying to get input from user. I'm only want pure character plus number and underscore. Just like requirement t...
sed substitution Summary: Hi, I would like to remove all characters between [ and ] in each line of a text file but only if there is NOT an X between the [ and ]. If there IS ...
remove top line in file Summary: sed -n '1p' your_file > new_file This will not alter your_file. It takes the first line of it and puts it in new_file. -jim ...
Jump To:
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | >>Sponsored Results for: Remove all \n in sed