Sed stands for Stream EDitor - one of the basic tools in the POSIX environment. It processes one or more files according to an editing script and writes the results to standard output. Created in Bell Labs, it has been around since mid-70s.

learn more… | top users | synonyms

1
vote
1answer
751 views

Writing to /etc/networking/interfaces at boot using sed/awk?

Newbie here, I'm trying to write to an auto-generated /etc/network/interfaces file of a newely provisioned XEN Ubuntu (12.04/10.04/8.04) DomU server at boot time using (currently) sed. The ...
0
votes
1answer
272 views

Regex matching specific details if first match exists, multiline

I'm struggling to get the correct regex to match specifically 'Contact' and 'User-Agent' only if the 'Contact' address matches 10.0.x.x in ~70GB of SIP messages. The SIP message will always contain a ...
-1
votes
1answer
15 views

sed + search word with strings and replaced all word

I want to create with sed the following: for example each word in the file that have the "ssss..." Should be replaced (all word) with target string as gggg echo "duwdbnhb ssssssmnfkejfnei" | sed ...
1
vote
0answers
49 views

SED returning error 2 when launched by Wpkg

Case I am deploying a software product using Wpkg over Windows workstations. I need to disable product's faulty automatic update and the best solution in this case is to modify one configuration file ...
0
votes
0answers
12 views

Environment variable Name Set in Path Not converted to its set value

I created a system environment variable SD_HOME to set the location of SED application on windows server 2008 R2 Datacenter and referenced the same variable in PATH system variable as ;%SD_HOME%\bin;. ...
0
votes
0answers
40 views

Mysql sed error

I upgraded mysql from 5.5 to 5.6 in Debian 7 Wheezy box via apt-get command and all seems fine, but when I restart mysql, I get: [info] Stopping MySQL Community Server 5.6.23. ...... [info] MySQL ...