9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
when given a file name, im looking for the most efficient way to turn each letter of the file name into spaces.
for instance, the way im thinking of going about this is this:
MYFILE=check_disks.sh
CHANUM=$(echo ${MYFILE} | awk '{ print length }')
printf '%s\n' $CHANUM
as you can see... (4 Replies)
Discussion started by: SkySmart
4 Replies
2. UNIX for Dummies Questions & Answers
please let me know how to construct if then else by comparing two numbers if it is greater than 10000. I need to do some specific task executed.
can you help me out in shell scripting plz. (6 Replies)
Discussion started by: ramkumar15
6 Replies
3. Shell Programming and Scripting
Hi All, I have input file like this:
input1:
( 1083479)=T 158V 1798,
T 391V 1896,T 1138V 2273,T 1547V 2477,T 2249V 2917,T 3278V 3234,T 4152V 3495,T 5500V 3631,
( 1083501)=T 181V 1851,
T 459V 1954,T 810V 2141,T 1188V 2372,T 1638V 2696,T 2731V 3124,T 4799V 3640,... (5 Replies)
Discussion started by: attila
5 Replies
4. Shell Programming and Scripting
Hello all,
I am trying to establish two ppp connections using chap authentication over dial-up. I am using the generic connect scripts and can connect to the first server but when I try to connect the second while the first one is connected there is a chat timeout that occurs.
Any... (6 Replies)
Discussion started by: LAVco
6 Replies
5. Shell Programming and Scripting
using sed to replace a specific string on a specific line number using variables
this is where i am at
grep -v WARNING output | grep -v spawn | grep -v Passphrase | grep -v Authentication | grep -v '/sbin/tfadmin netguard -C'| grep -v 'NETWORK>' >> output.clean
grep -n Destination... (2 Replies)
Discussion started by: todd.cutting
2 Replies
6. Shell Programming and Scripting
Hi,
I have a huge file & I want to add a specific text in column. But I want to add this text from a specific line number to a specific line number & another text in to another range of line numbers.
To be more specific: lets say my file has 1000 lines & 4 Columns. I want to add text "Hello"... (2 Replies)
Discussion started by: Ezy
2 Replies
7. SCO
Friends,
I am facing a problem in connecting two SCO Openserver 5.0.6 servers through Dial-Up connectivity as is done in the case of two Windows PCs. Please help me out with the following problems:
(a) How to configure the modem?
(b) How to setup a Dial-In connection?
(c) How to... (1 Reply)
Discussion started by: thecobolguy
1 Replies
8. UNIX for Dummies Questions & Answers
Hi Folks,
Just for the record: I am a Mac User.
But I believe my question is a simple UNIX FBSD question.
My problem: I need to learn how to "pick up" the telephone line and dial a number from an Unix shell or shell script execution.
My modem is at /dev/cu.modem
Why I need it?
I... (12 Replies)
Discussion started by: fundidor
12 Replies
9. Shell Programming and Scripting
I wish to compute the number of dot chars in a string.
Example:
VAR="aaaa.bbbbb.cccc"
I try the shortest command to solve this test.
Thanks in advance for your help.
Regards,
Giovanni (7 Replies)
Discussion started by: gio123bg
7 Replies