10 More Discussions You Might Find Interesting
I can find and replace text when the delimiters are unique. What I cannot do is replace text using two NON-unique delimiters:
"This html code <text blah >contains <garbage blah blah >. All tags must go,<text > but some must be replaced with <garbage blah blah > without erasing other... (5 Replies)
Discussion started by: bedtime
2. Shell Programming and Scripting
i have a text file in which i want to put delimiters after certain characters ( fix),.
like put a delimiter (any like ,) after 1-3 character than 4 than 5 than 6-17 .....
files looks like this (original)... (8 Replies)
Discussion started by: anamdev
3. Shell Programming and Scripting
I have email headers that look like the following. In the end I would like to accomplish sending each email address to its own variable, such as:
I know the sed to get rid of... (11 Replies)
Discussion started by: tay9000
4. Shell Programming and Scripting
I need to extract execution error on a log file. I am on Linux, but I can only use bash or ksh.
As a sample of what I'm needing, here is some data;
***** L1 FILE VAX_ASP1_SATx_E_IM20101017035246 - CPU TIME 2011-04-29T09:57:57 *****
GMT_PRODUCT_CREATION_TIME = 2011-04-29T09:57:57... (6 Replies)
Discussion started by: Aswex
5. Shell Programming and Scripting
I try order the content from file by delimiters.
This is the text:
description !!!RID RR_SLT
ip address 172.31.128.19 255.255.255.255
description !!!P_SLT GI0/0/9
ip address 172.31.130.246 255.255.255.252
and the result that I need... (11 Replies)
Discussion started by: bobbasystem
Can somebody help me with the below situation,
... (15 Replies)
Discussion started by: sravicha
needa c program to extract text between two delimiters from some text file.
and then storing them in to diffrent variables ?
text file like 0:
aaaaaa|11111111|sssssssssss|333333|ddddddddd|34343454564|asass... (7 Replies)
Discussion started by: kukretiabhi13
8. UNIX for Advanced & Expert Users
I have an input file which looks like
$SCRIPT/dba2000.scr -s / @$SCRIPT/cim1005w.pls
$SCRIPT/dba2000.scr -s / @$SCRIPT/cim1006w.pls
! rm $DATA/cim1021m.sql
spool $DATA/cim1021m.sql... (6 Replies)
Discussion started by: dowsed4u8
9. Shell Programming and Scripting
I have an input_file below and i would like to use Perl to search for the term "aaa" and output the 3rd term in the same row as "aaa".For Example, i want to search for the term "ddd" and would want the code to ouput the 3rd term in the same row which is "fff". Can somebody help ?
... (28 Replies)
Discussion started by: Raynon
hi floks !
i'd like to know how can i transmete a character or a string from my source code to a term and make it interpret or un by the shell wich is running in my term.
I'd like to create a Term from my code (and get its file descriptor) and then transmete each char typed on the keyboard to... (1 Reply)
Discussion started by: the_tical