[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31266: please help in below error in sed on hp-ux
From: |
Assaf Gordon |
Subject: |
bug#31266: please help in below error in sed on hp-ux |
Date: |
Wed, 25 Apr 2018 22:09:30 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Hello,
On 25/04/18 06:48 PM, aditya gupta wrote:
*command *
sed '/\<!\--dvc-->\ {
n;\project.version.com.rogers.jarsync.cramer\s:3.0.0.0-132:3.0.0.0-134:g}'
pom.xml > pom.xml_new
This does not look like a valid sed command.
At the very least, the address regex (starting with the first "/")
is not terminated anywhere.
The escape sequence "\p" is also not valid.
*Error*
sed: Function /\<!\--dvc-->\ {
n;\project.version.com.rogers.jarsync.cramer\s:3.0.0.0-132:3.0.0.0-134:g}
cannot be parsed.
Based on this error message, I'm not sure you are using GNU sed.
What is the output of "sed --version" ?
regards,
- assaf