Im getting this error message when trying to substitute filepaths in a sed search and replace string
#!/usr/bin/ksh
ORACLE_SID=PH3
ORACLE_ADMIN=/data01/app/oracle/admin/$ORACLE_SID
DATAFILE_DIR=/asterisk/oradata/$ORACLE_SID
sed -e s/DBNAME/$ORACLE_SID/g < initPH2.ora | sed -e... (1 Reply)
Dear friends,
please give me the solution to the following query.
If a file contains multiple tags of same name, then how to get the required string between the tags, in which the string begins with "W/X"
i.e., file1.txt contains following text(please note that all the following tags are in... (1 Reply)
I fairly new to SED. I have tried many different variations of this line of code and even breaking it down into its components and running them separately.
They work individually without variables but when I place the $todbname variable it will either inserts the text "connect to $todbname"... (3 Replies)
Hi,
I really need some help, I am using a very basic script to proess a text file. This script has been used many times but all of a sudden all on it's own it's stopped working.
The line in the script is:
sed 's/
//g' $ORGFILE > $NEWFILE
and the error is Sed: command garbled :s/
All... (3 Replies)
Hi,
I have a file1 as :
A=/home/user
B=/home/user1
C=/home/user2
D=/home/aacsms
E=/home/user1/temp
F=/home/user1/area1
and my script as:
a=`cat /home/aacsms7/file1 | grep -i e`
b=`user2`
sed 's/'$a'/"E=/home/'$b'/temp"/g' < file1 > file2
sed: command garbled:... (3 Replies)
Hi all,
Suppose that I want to update the db.password entry in the below properties file,
db.username=admin
db.password=qhKkBno2U5GEq5k/dnmGPA== //I want this line to be replaced by: "db.password=abc/123/"
db.host=server
db.port=22
db.sid=database
However when... (2 Replies)
Hi,
First post for a noob so please go easy with me :)
I have a XML block that is originally like this:
<SETNAME>somecrap/THIS</SETNAME>
and I would like it be replaced with, in the original file:
<SETNAME>THIS</SETNAME>
I tried to use:
sed... (4 Replies)
Hi everyone,
Can anyone help me in question below?
I want to cron a job to add partition every month but get the error sed: command garbled: s/YYYYMM/ .
> echo $YYYYMON_NEW
201304
> echo $YYYYMON_OLD
201208
> echo $YYYY_MM_NEW
2013-05
This is my base script:
ALTER TABLE STS.ADMIN ADD... (1 Reply)
Discussion started by: fenocean
1 Replies
LEARN ABOUT NETBSD
urlphy
URL(4) BSD Kernel Interfaces Manual URL(4)NAME
url -- Realtek RTL8150L USB Ethernet driver
SYNOPSIS
url* at uhub?
urlphy* at mii?
DESCRIPTION
The url driver provides support for USB Ethernet adapters based on the Realtek RTL8150L USB-ether bridge chip.
The url driver supports the following adapters:
CompUSA USBKR100
GreenHouse GH-USB100B
Melco Inc. LUA-KTX
Sitecom LN013
For more information on configuring this device, see ifconfig(8).
DIAGNOSTICS
url%d: watchdog timeout A packet was queued for transmission and a transmit command was issued, however the device failed to acknowledge the
transmission before a timeout expired.
url%d: no memory for rx list The driver failed to allocate an mbuf for the receiver ring.
SEE ALSO arp(4), mii(4), netintro(4), usb(4), ifconfig(8)HISTORY
The url device driver first appeared in NetBSD 1.6.
AUTHORS
The url driver was written by Shingo WATANABE <nabe@nabechan.org>.
BSD September 18, 2006 BSD