10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have input like this :
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 07-FEB-2012 04:19:45
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/t3local_apps/apps/oracle/product/11.2.0/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve... (3 Replies)
Discussion started by: dnam9917
3 Replies
2. Shell Programming and Scripting
Hi Gurus,
I need to search and replace string <! in a file with a blank.
Some how my command
sed -i 's/\<\!\
is not working ..
Kindly help (1 Reply)
Discussion started by: r_t_1601
1 Replies
3. UNIX for Dummies Questions & Answers
I would like to read value after $ symbol from a file.
For eg
a file will be having the following lines.
5,$0,-32768p,32767p,$400014f8,1,,
5,$0,0,0,$400008ce,1,,
5,$0,0,0,$400008d0,1,,
i would like to read 400014f8 then 400014f8 and similar all the value after $ symbol.Can any one help... (1 Reply)
Discussion started by: jagadeeshrr
1 Replies
4. Shell Programming and Scripting
Hello
Kindly help me to find out the first column from first line of a flat file in perl
I/P
9869912|20110830|00000000000013009|130|09|10/15/2010 12:36:22|W860944|N|00
9869912|20110830|00000000000013013|130|13|10/15/2010 12:36:22|W860944|N|00... (5 Replies)
Discussion started by: Pratik4891
5 Replies
5. Shell Programming and Scripting
Hi Experts,
I need to insert a sting into another string at a specified position. Like the below.
Regards,
Tin-Tin (3 Replies)
Discussion started by: tinufarid
3 Replies
6. Shell Programming and Scripting
I want to extract a character from a string.
For a C/C++ programmer like me, this would seem to be the most logical and reasonable way--but it doesn't work:
$s = "abcdefg";
$c = $s;
This way is documented and it works, but it seems clumsy.
Is there any simpler way to grab one character out... (7 Replies)
Discussion started by: KenJackson
7 Replies
7. Shell Programming and Scripting
Hi all,
I am trying to grep something from log file.
For example. i need to grep sting = "*834*1"
My LOG
2010-05-05 09:27:57,649|3|ABCD834|192.168.38.72|2365|444850623031|0|8|-|0|*834*1*1499413*00853662524#|470540.7219101273026475158
2010-05-05... (3 Replies)
Discussion started by: ooilinlove
3 Replies
8. Shell Programming and Scripting
i want to assign a anme for a string, i got the things below, but it doesn't work.
MParc1=``
if
then
$MPrac1=`Prac1` # assign $MPrac1 to Prac1
else
$MPrac1=`` #assigne $MPrac1 to nothing
fi
echo "${MPrac1} >>file
Output: (if num is 0)
Prac1
can you please... (6 Replies)
Discussion started by: mingming88
6 Replies
9. UNIX for Dummies Questions & Answers
How can I extract few lines(like 10 to 15, top 10 and last 10) from a file using perl.
I do it with sed, head and tail in unix scripting. I am new to perl. Appreciate your help. (2 Replies)
Discussion started by: paruthiveeran
2 Replies
10. Shell Programming and Scripting
Hi,
I am trying to extract the includes from all the perl programs in my application space;ie. i want the list of all used modules in my application.
First i did a grep like 'grep -r "^use.*;$" * > ~dileepp/search.txt' which gives me the output in the form "filename:line containing use"... (0 Replies)
Discussion started by: DILEEP410
0 Replies