10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Need assistance in getting a shell program .
I have csv file and each line has comma separated number. I wanted to take of the comas and print each number in each line . below example. Appreicate your help
Row with number
... (14 Replies)
Discussion started by: ajayram_arya
14 Replies
2. Shell Programming and Scripting
I have a log file containing the below data and should have the output file as below. and the output file should not contain any 0 values.
Eg. It should not contain 0000000:0000000 in it.
input.txt
Media200.5.5.1 00010003:065D1202
Media100.5.5.2 7,588,666,067,931,543... (6 Replies)
Discussion started by: scriptscript
6 Replies
3. Shell Programming and Scripting
I'm having a script which outputs four different attributes A, B, C, D for a list of users.
I want to insert expression such that once the output is generated for first user, output for next user should be printed in new line.
Please help. (4 Replies)
Discussion started by: surdileep
4 Replies
4. Shell Programming and Scripting
Hi all,
I am new to scripting.
I have a file with colon separated values called mylist.txt
cat mylist.txt
192.123.76.89:lmprod89
162.122.20.28:lmtstserver28
10.80.32.139:hewprod139
.
.
using our internal os utility (called mvsping) we need to check all these servers if they are... (6 Replies)
Discussion started by: kraljic
6 Replies
5. Shell Programming and Scripting
Why isn't printing message?
1 #!/bin/sh
2
3 something(){
4 echo "Inside something"
5 echo $1 $2
6 }
7 val=$(something "Hello " "world")
But it prints.
1 #!/bin/sh
2
3 something(){
4 echo "Inside something"
5 echo $1 $2
6 }
7... (4 Replies)
Discussion started by: cola
4 Replies
6. Shell Programming and Scripting
hi i am using printf in a script and it is not printing negative values..i have to use printf to get rid of the newline..here is my code:
fin=`echo $a - $b | bc`
printf "${fin}," >> test
these statements are in a loop. here is what i get when i try to subtract 4 from 8:
./scr1: line... (2 Replies)
Discussion started by: npatwardhan
2 Replies
7. Shell Programming and Scripting
Hi All,
I am writing a shell script to print all the files in a particular folder.
This script is on solaris server .
I am using the lp command to send the requests .
lp -d printername filename .
The output I get is the request id.
Is there any way I can use the request Id to determine if... (1 Reply)
Discussion started by: shahshilpa
1 Replies
8. Shell Programming and Scripting
Hi,
I have a config.xml which cointains the tags like
<CONFIG>
<PROPERTY name="port" value="1111"/>
<PROPERTY name="dbname" value="ABCDE"/>
<PROPERTY name="connectstring" value="xyz/pwd"/>
</CONFIG>
This file is in some directory at UNix box.
I need to write a... (4 Replies)
Discussion started by: neeto
4 Replies
9. Shell Programming and Scripting
All,
I am having a shell script and i will pass different argument diferent time . Please tell me how can i find the last argument that i passsed each time when i exec the script.
Thanks,
Arun. (5 Replies)
Discussion started by: arunkumar_mca
5 Replies
10. Shell Programming and Scripting
i need to get this done for college and am having troyble getting the comma removed at the last email address and also if there is no email address i get a space instead of nothing, the question is below so if anyone has an idea how to do it could they help me also u cannot use perl
Background:... (1 Reply)
Discussion started by: benny_cash
1 Replies