Bash Programing

From: Ushi Konepa (nomail_at_yahoo.xyz)
Date: 07/29/03


Date: Tue, 29 Jul 2003 08:45:55 +0200


Hi,

I've just a question. Surely everybody knows how to write bash or tcsh
scripts and how to get input with the statement "read" and so on.

The trouble is only that the processing of the script could be broken when a
user makes a "Ctrl-C" on his keyboard. How can I disable this action by
means of the same script in order to force the user to make an input after
the "read" command and without being able to stop the processing?

---
 
Kind regards
Ushi


Relevant Pages

  • Re: [SLE] Redirection puzzle
    ... What shell do you use for interactive shell sessions? ... "--norc" option in the script? ... I tried the tcsh counterpart: ... bash> tcsh ...
    (SuSE)
  • Re: [ Attn: Randy ] Ad-hoc Parsing?
    ... > 1) They were out of context quotes, as the quotes came with no context. ... embed cpu instructions within a DOS/Windows batch script. ... that this also is possible with bash scripts. ... statement "It can execute the .com file as easily as a command.com ...
    (alt.lang.asm)
  • Re: [opensuse] Editting PATH variable
    ... SuSEconfig script ... ... not knowing what you options you used to install ... If your unfamiliar with Bash a good book is 'Learning the Bash Shell' by ... For Java use editing the PATH variable is NOT required... ...
    (SuSE)
  • Re: Command Line Interface
    ... >> should accept system commands only for an administrator. ... >> how should I supress the bash shell and launch my custom CLI ... > The script could run in a restricted shell and offer a menu of ... account, and either 1) change account password, 2) ...
    (comp.os.linux.misc)
  • Re: Reverse ldd ??
    ... people don't use them and that bash is what everyone does use, ... learning a new language in order to recode a snippet. ... then you will quickly recognize what the tclshell script ... I just am saying that's what I found confusing. ...
    (comp.os.linux.misc)