Hi Experts,
I have a directory which have 500 ksh, they all have common path string.
I have replaced all the ksh in different directory so i need to change the path string.
Please help me how to search and replace it.
Thanks SKG (1 Reply)
Hi Everyone,
I am new to this forum and new to sed/awk programming too !!
I need to find particular string in file1(text file) and replace it with a value from another text file(file2) the file2 has only one line and the value to be replaced with is in the second column.
file 1:
(assert (=... (21 Replies)
Hello, I want to locate a special character in each line of a file and replace it with another string that contains a special character and $i (i is incresing each cycle)
string1: export IBAN=AAAAAAAAA . . . . export IBAN=zzzzzzzzzzz
I want it to be:
export IBAN=AAAAAAAAA . export... (1 Reply)
Can someone tell me how I can do this?
e.g:
a=$(echo -e wert trewt ertert ertert ertert erttert
erterte
rterter
tertertert
ert)
How do i replace the STRING with $a?
I try this:
sed -i 's/STRING/'"$a"'/g' filename.ext
but this don' t work (2 Replies)
QUESTION1:
How do you grep only an exact string. I am using Solaris10 and do not have any GNU products installed.
Contents of car.txt
CAR1_KEY0
CAR1_KEY1
CAR2_KEY0
CAR2_KEY1
CAR1_KEY10
CURRENT COMMAND LINE: WHERE VARIABLE CAR_NUMBER=1 AND KEY_NUMBER=1
grep... (1 Reply)
here is what i want to achieve... consider a file contains below contents. the file size is large about 60mb
cat dump.sql
INSERT INTO `table1` (`id`, `action`, `date`, `descrip`, `lastModified`) VALUES (1,'Change','2011-05-05 00:00:00','Account Updated','2012-02-10... (10 Replies)
I have a file example.txt as follows :SomeTextGoesHere
$$TODAY_DT=20140818
$$TODAY_DT=20140818
$$TODAY_DT=20140818I need to automatically update the date (20140818) in the above file, by getting the new date as argument, using a shell script.
(It would even be better if I could pass... (5 Replies)
Some help please:
Need to find string ||(everything in front of it)B0300|| and replace it with ||0|| globally
In:
16112121||||0||0||0||0||0||52||52||0||0||0||0||1507200053342B0300||1507200053342B0300||0||0||0||0700
Out:
16112121||||0||0||0||0||0||52||52||0||0||0||0||0||0||0||0||0||0700
... (4 Replies)
Hi Everyone,
I have a xml file, where i need to find this
HOST=dbhost.domain.com
and then replace only
dbhost.domain.com with db.one.in
so finally it should like this
HOST=db.one.in
i tried this but its not working.
sed -i "s/^HOST=*com$/HOST=db.one.in/g" repository.xml
^... (4 Replies)
I need to find and replace a date format in a SQL script with sed. The original lines are like this:
ep.begin_date, ep.end_date, ep.facility_code,
AND ep.begin_date <= '01-JUL-2019'
ep.begin_date, ep.end_date, ep.facility_code,
AND ... (15 Replies)
Discussion started by: duke0001
15 Replies
LEARN ABOUT REDHAT
sane-pie
sane-pie(5) File Formats Manual sane-pie(5)NAME
sane-pie - SANE backend for PIE, Devcom and AdLib SCSI flatbed scanners
DESCRIPTION
The sane-pie library implements a SANE (Scanner Access Now Easy) backend that provides access to PIE, Devcom and AdLib SCSI flatbed scan-
ners.
At present, the following scanners should work with this backend:
Model: Status
----------------------------
Devcom 9636PRO OK
Devcom 9636S Untested
Devcom 9630S Untested
ScanAce 1236S Untested
ScanAce 1230S Untested
ScanAce II Untested
ScanAce III Untested
ScanAce Plus Untested
ScanAce II Plus Untested
ScanAce III Plus Untested
ScanAce V Untested
ScanAce ScanMedia Untested
ScanAce ScanMedia II Untested
ScanAce 630S Untested
ScanAce 636S Untested
JetScan 630 OK
JetScan 636PRO Untested
FILES
/etc/sane.d/pie.conf
The backend configuration file
/usr/lib/sane/libsane-pie.a
The static library implementing this backend.
/usr/lib/sane/libsane-pie.so
The shared library implementing this backend (present on systems that support dynamic loading).
SEE ALSO sane(7)CONTACT AND BUG-REPORTS
Please send any information and bug-reports to:
Simon Munton <simon@munton.demon.co.uk>
7 Sept 2000 sane-pie(5)