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 26 - 50 of 6595

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

Sed Command in Unix
    Summary: I'm a newbie myself, but I think the first part: sed '/^$/d' will remove all blank lines from the file ...

using parameters in sed???
    Summary: Hi, Anyone know a way to use parameters in a sed or a way round it?? I'm trying to do something like this: sed 's/${USER}/${NEW_USER}/g' but it does n...

sed: conditional newline removal
    Summary: A partial reply... This will remove the NL character. sed 'N;s/\n//' datafile therefore 1234567890 1234567890 becomes 12345678901234567890 This will p...

Expression Matching
    Summary: Hi All, I have a question on how regular expressions evaluate. I have the following regular expression that I use in SED: echo hello world abac hello...

C Shell script help!
    Summary: I need help on writing 2 shell scripts: 1) Write a shell script, to be called `keep', that will take any number of file names as arguments. It sho...

A simple question
    Summary: I am writing a phone list utility. I want to ask the user for a name and number that they will input from the command line. I will then take this data...

deleting rows in a file
    Summary: Hi Bill, this is easy in sed just sed -n '3p' fileA But it didn't realy delete the rows in fileA just print's the 3 row. So a redirection of the out p...

removing unwanted characters
    Summary: this should be real easy. i'm in korn shell. i have a data file similar to this 2489,02-Aug-1998 00:00:00,14,32,0,49,08-Aug-1998 00:00:00 2490,03-Aug-...

DETAILED UNIX HELP PLEASE!!!
    Summary: Here is my solution, with caveats at the end. This code works on HP-UX in the bourne or korn shell. I tested with an actual download of the web file, ...

Removing Duplicate Records
    Summary: Well if there's no white space in your records it's easy to preserve the order: cat -n file | sed 's/\(.*\t\)\(.\{8\}\)\(.*\)/\1\3\t\2/' | sort -k3 | ...

sed character replace over a range
    Summary: Hi I need a sed command to replace all characters in a text file except those in a specific range. i.e If there is a file with contents: abcdefghijk w...

Read input file for deleting images.
    Summary: Well, perl is quite an overkill for a task that can be done easily with basic unix. And not all shops have perl installed. #!/bin/sh cat mylist.txt |...

Remove too long lines form file
    Summary: I was wondering if you could help me with a script to remove ALL the lines in a file that are loger then 255 char. This script must also remove the li...

Remove files from list
    Summary: Hi, I would like to delete the files in the list below. The file list is over 5000 lines long. It looks something like this: test.12001 test.12002 tes...

Auto say y or n in a shell script
    Summary: Hi all, I'm writing a shell script to execute PGP, then FTP to several FTP site at the same time. Please let me know how to put in the script so that...

urgent help in sed
    Summary: hi... i want to know how can i take away a portion of a file using sed..if i have 100 records in a file , i want to take away 10 records and place it ...

Change of user in a script
    Summary: Remove all the commands that need to be run as oracle and place them in a different script, say called ora_commands.sh In your main script, when you g...

remove blank space
    Summary: Hi all, How do you remove all blank spaces before the comma in the following file: x ,y a ,z b ,e Desired output file: x,y a,z b,e Ple...

How to kill connection in unix
    Summary: You mean someting in routing table. remove all routing table route -f remove line by line route delete ...

UNIX Sed remove add
    Summary: If you are using variables in sed, you must use double quotes instead of single: #!/bin/ksh name="Mike" newname="Michael" sed "s/$name/$newname/" add...

Remove Linux - Please
    Summary: Please assist. I would like to be able to completely format my hard drive. When I use dos it does not remove the LILO boot loader. If anyone knows ho...

Get rid of the leading space
    Summary: There are some things here that can stand some clarification and warnings ... The vi and sed solutions above will remove ALL leading spaces on each li...

help with a sed function
    Summary: Hi I need help with sed , i figured out how to use it but i need a way for it to remove "." and "/" like in this example SRC="../../../xxxxxxx/xxxx a...

sed question
    Summary: Can anyone please help me with this. I am having a customers bank account file which has several records of the following pattern, colon is the delimi...

How to remove files
    Summary: Hi, In a directory in Unix OS. how to remove all files except the files whose name start with x? regards Ravi ...

Jump To: << | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | >>

Sponsored Results for: Remove all \n in sed

Ads by Google