10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have been working on script in which search and replace the multiple pattern.
1. update_params.sh read the multiple pattern from input file ParamMapping.txt(old_entry|New_entry) and passing this values one by one to change_text.sh
2. change_text.sh read... (0 Replies)
Discussion started by: ketanraut
0 Replies
2. Shell Programming and Scripting
I'm trying to use awk in a script to search for a string number in a plist file.
basically its a plist that records the bandwidth usage, and if the number is greater than 3GB which is equals 3221225472 bytes, it will send me an alert by email.
here is the file:
=<?xml version="1.0"... (4 Replies)
Discussion started by: ivaldiz
4 Replies
3. Shell Programming and Scripting
Hi,
1. I want to remove the line which contains "SUBPARTITION", but the condition is
if line has ends with "),"
replace with ,
else
delete the line
I was trying with the sed command i... (3 Replies)
Discussion started by: gavemani
3 Replies
4. 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
5. 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
6. Programming
Hi java programmers
I'm a newbee to the Java. Could please help me to set the path correctly. I'm getting the following error.
----jGRASP exec: javac -g C:\Documents and Settings\bogugk\Desktop\HelloWorldApp.java
----jGRASP wedge2 error: command "javac" not found.
---- This command... (1 Reply)
Discussion started by: repinementer
1 Replies
7. UNIX for Advanced & Expert Users
I want to know how to, given a string like W87151WR71C, if the 4th and 5th character (in this case 15) are greater than 45, then to add 1 to the 3rd character (in this case 7) and assign the revised string the variable name MODSTRING.
Thanks in advance. This is ultimately to grab info from... (6 Replies)
Discussion started by: glev2005
6 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. Shell Programming and Scripting
Hi Experts,
I want to extract the value of SESSIONID AND USERID from the this string using perl.
XML Request },"USER_PREF":{"sys_lang":"en-us","timezone":"480","user_lang":"en-us"}}}</DEVICESIG></POLICYREQ>]
The answer should be SessionID=1:3133050 and USERID=01451651
Please advise how... (3 Replies)
Discussion started by: namishtiwari
3 Replies
10. Shell Programming and Scripting
Hello,
This one has me stumped, although I suspect it might be easy. I have a file and need to split the entries into two varaibles. The format for a positive is 'AANNNN' where A is alpha and N is numeric.
Thanks in advance (5 Replies)
Discussion started by: 98_1LE
5 Replies