Sponsored Content
Top Forums Shell Programming and Scripting the shell not pause when execute read command Post 302211485 by vbe on Thursday 3rd of July 2008 01:39:30 PM
Old 07-03-2008
ant:/home/vbe/scripts $ all_OMC=2
ant:/home/vbe/scripts $ if [ $all_OMC -ne 1 ]^Jthen^Jprintf "Please enter a name : [>
Please enter a name : []

It does works...
So I believe it before and you dont enter the condition...
Why not try with sh -x ?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

execute shell command in perlscript

Hi I have this below script...I want to execute the shell command "rm" in the below script but it is not working. Can anybody why so? I got the below error rm: /users/amvarma is a directory sh: /*-log*: not found ------------------- $u=`whoami`; print "$u\n"; $op_1=$ARGV; # for... (0 Replies)
Discussion started by: amitrajvarma
0 Replies

2. UNIX for Dummies Questions & Answers

pause needed for corn shell

I need a user pause for a script file, like the pause command in dos. please help I thought it was the corn shell it is csh. (7 Replies)
Discussion started by: dennysavard
7 Replies

3. Shell Programming and Scripting

execute a command silently or quietly within a shell

How do I suspend output of commands and tools that sometimes utter unwanted output? I know that I can always pipe to null or some such thing, but is there a simpler more elegant (i.e. accepted) practice? (4 Replies)
Discussion started by: lumix
4 Replies

4. Shell Programming and Scripting

shell script to execute user command

I don't know why the following shell script doesn't work. Could you please help me out? #!/usr/bin/ksh test="cal > /tmp/tmp.txt 2>&1" $test I know it will work for the following format: #!/usr/bin/ksh cal > /tmp/tmp.txt 2>&1 However, I need to get the command from the user in... (1 Reply)
Discussion started by: redtiger
1 Replies

5. Shell Programming and Scripting

Cann ot execute a shell command

Hi , I am new to UNIX and Shell scripting . I am not able to execute a shell file . I try to do it using the below command. ./start.sh but it shows an error that 'cannot execute ' what might be the reason for this? pls help me to resolve it. (1 Reply)
Discussion started by: Deepakkumard
1 Replies

6. Shell Programming and Scripting

How to pause a shell script

Hi, I've written a shell script to take photos with my camera. After every picture taken, the picture is transmitted to the computer via usb and then deleted on the camera. But sometimes there's an error and the picture is not deleted and so, after a certain time, the camera chip will be... (4 Replies)
Discussion started by: McLennon
4 Replies

7. UNIX for Dummies Questions & Answers

How to execute command after telneting in shell script?

Hi , I have to write a shell script to telnet to specific host and execute the admin command there. Please help me to do that. Eg : telnet hostname portno admin command exit (3 Replies)
Discussion started by: arukuku
3 Replies

8. Shell Programming and Scripting

When i am trying to execute export command within a shell script it is saying command not found.

I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found" My code is as follows: -------------------------- #!/bin/sh user="test" DIR="/bldtmp/"$user VIEW="test.view1" echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies

9. Shell Programming and Scripting

Read from file and execute the read command

Hi, I am facing issues with the below: I have a lookup file say lookup.lkp.This lookup.lkp file contains strings delimited by comma(,). Now i want to read this command from file and execute it. So my code below is : Contents in the lookup.lkp file is : c_e,m,a,`cd $BOX | ls cef_*|tail... (7 Replies)
Discussion started by: vital_parsley
7 Replies

10. Shell Programming and Scripting

Process to read a new file entry and execute a command

I need to develop a process/daemon which will constantly monitor a file for new entry and execute a command. for eg, there is a file /var/log/inotify.log When a new entry like below gets appeneded to this file, execute the command as follows. /home/user/public_html/bad.php|CREATE ... (2 Replies)
Discussion started by: anil510
2 Replies
ant-phone(1)							 ANT Manual Pages						      ant-phone(1)

NAME
ant-phone - an interactive ISDN telephone application SYNOPSIS
ant-phone [options] DESCRIPTION
ant-phone is part of ANT (ANT is Not a Telephone). It let's you make and receive telephone calls and talk via sound devices. It uses CAPI 2.0 as ISDN interface. OPTIONS
ant-phone accepts the following options: -h, --help Show summary of options -v, --version Print version information -r, --cleanup Remove stale socket file left by accident by a previous run of ANT. You only need this option if ANT says: "local bind: Address already in use" -d, --debug[=debuglevel] Print additional runtime debugging data to stdout, debuglevel = 1..4 -i, --soundin=device ALSA device name for input (recording), default: "default" -o, --soundout=device ALSA device name for output (playback), default: "default" -m, --msn=msn identifying MSN (for outgoing calls), 0 for master MSN of this termination/port, default: 0 -l, --msns=msns MSNs to listen on, semicolon-separated list or '*', default: * -c, --call=number Make a running instance of ANT make a call to the specified number, useful for calling from an external address book application -s, --sleep Shut down CAPI connection to prepare for removal of broken kernel modules, which don't survive suspend/restore. -w, --wakeup Restore CAPI connection after ISDN modules loaded again. The connection will be also restored by dialing a number, but before the connection is restored, you won't be able to accept calls. NOTES
If the used sound devices (arguments of --soundin and --soundout) are equal, a full duplex sound device is needed. FILES
~/.ant-phone/history the last dialed numbers ~/.ant-phone/options user specific options file ~/.ant-phone/callerid saved history of incoming and outgoing calls ~/.ant-phone/recordings/* recordings of recorded phone calls BUGS
Caller ID stores hangup reason localized. This will break, if someone uses letters outside of English alphabet for translation of hangup reasons. AUTHORS
ANT was developed by Roland Stigge <stigge@antcom.de>, based on ideas from IVCALL, Copyright 2002 Lennart Poettering. G.711 handling by Sun Microsystems. Contributions by Joerg Mayer <jmayer@loplof.de>, Lars Volkhardt <Lars.Volkhardt@uni-konstanz.de>, Ivan Schreter <schreter@gmx.net>. Version 0.1.0 27 April 2003 ant-phone(1)
All times are GMT -4. The time now is 07:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy