01-08-2013
I response to last comment: pressing return when select is in place does not give me back control, therefore I cannot issue a CLEAR.
Experiment yourself and you will see what I mean. How can I trap the return being pressed by itself?
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to select files which have different extensions such as .cpp, .cs, .h
I can select one of them as
find . -name "*.cpp"
but I want to select all of them in one command only. It should be pretty simple but I'm not able to get it. Any help with the command will be greatly appreciated. (1 Reply)
Discussion started by: MobileUser
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
Can anyone please let me know the syntax / how to pick up the Return Code ( RC) from the mailx command and return it to SAS uisng 'system()' function and '${?}'.
I am in a process to send the mail automatically with an attachment to bulk users. I have used 'Mailx' and 'Unencode'... (0 Replies)
Discussion started by: manas6
0 Replies
3. Shell Programming and Scripting
Hello everyone,
I have a quick question about the select command in ksh. I am using it to define a menu for user selection, I have found that the REPLY var contains the input from the user, I was interested to find out if there is a system variable that contains the whole menu as an array, the... (2 Replies)
Discussion started by: gio001
2 Replies
4. Shell Programming and Scripting
Hello everyone.
I am using the select command to build a menu, here is my question:
Is it possible to generate a menu which contains several sections and have a separator between the sections without having a selection number generated in front of the separator?
This is a sample of what I would... (1 Reply)
Discussion started by: gio001
1 Replies
5. Shell Programming and Scripting
Hi Everyone,
I am facing a problem regarding the select from sybase, the return with the incorrect size.
For example, field is NAME(20).
After i selected from sybase, the result is nicky.
after i assign it to another declaration variable, it will be in actual name "nicky" , what i need... (10 Replies)
Discussion started by: ryanW
10 Replies
6. Shell Programming and Scripting
Hi All,
I am trying to use the select command & the menu.
below mention is my script
#!/bin/bash
2
3 PS3="Is today your birthday? " #PS3 system variable
4
5 echo "\n"
6
7
8 select menu_selection in YES NO QUIT
9 do
10
11 ... (1 Reply)
Discussion started by: milindb
1 Replies
7. Shell Programming and Scripting
I need to get total number of rows in a table by using select count(*) from table and need to assign into a variable in shell script. I used the following script, it does return the number of rows but also with oracle headers, Please help me to eliminate this headers.
Shell Script
#!/bin/sh... (16 Replies)
Discussion started by: vel4ever
16 Replies
8. Shell Programming and Scripting
I have a select menu driven script using a case statment and cannot control what happens after a user's input is just <ENTER> or the <SPACEBAR>+<ENTER>. I want it to just hit the "MAIN" function and not redraw the options. I've look everywhere for the answer and am at a loss.
Here's the code:... (4 Replies)
Discussion started by: ambroze
4 Replies
9. Shell Programming and Scripting
Hi all,
I'm using below code
processId=`sqlplus -s ${sysuser}/${syspwd} <<CHK_PROCESS
whenever sqlerror exit sql.sqlcode;
set head off feedback off echo off pages 0
SELECT PROCESS_ID FROM LSHADMIN.DATA_DOMAIN WHERE DOMAIN_NAME = '${tabname}'
... (8 Replies)
Discussion started by: Pratiksha Mehra
8 Replies
10. UNIX for Beginners Questions & Answers
Hi
I'm using the "select" command in the global_env.sh to log in to the application directory. This file is called in .bashrc profile.
Sample code:
Filename: global_env.sh
set -o vi
export severname=$(uname -n)
printf '%s\n%30s\n%s\n' "***********************" "Welcome to $severname"... (6 Replies)
Discussion started by: cheers799
6 Replies
LEARN ABOUT DEBIAN
exp2read
scf2read(3) Staden Package scf2read(3)
NAME
scf2read, read2scf, exp2read, read2exp - Translate to and from the Read structure.
SYNOPSIS
#include <Read.h>
Read *scf2read(
Scf *scf);
Scf *read2scf(
Read *read);
Exp_info *read2exp(
Read *read,
char *EN);
Read *exp2read(
Exp_info *e);
DESCRIPTION
These functions are used internally by the io library for converting between the in memory representations of the supported file formats.
The Read structure is the central format so only conversion to and from this structure is available. Conversions consist of to and from the
SCF format and to and from the Experiment File format.
scf2read() converts an Scf structure into a Read structure. The Read structure is allocated by the function. The Scf structure is left
unchanged.
read2scf() converts a Read structure into an Scf structure. The Scf structure is allocated by the function. The Read structure is left
unchanged.
exp2read() converts an Exp_info structure into a Read structure. The entryname to use in the EN line type of the Experiment File must be
specified. The Read structure is allocated by the function. The Exp_info structure is left unchanged.
read2exp() converts a Read structure into an Exp_info structure. The Exp_info structure is allocated by the function. The Read structure is
left unchanged.
RETURN VALUES
On successful completion, the scf2read() and exp2read functions return a pointer to an allocated Read structure. Otherwise these functions
return NULLRead.
On successful completion, the read2scf function returns a pointer to an allocated Scf structure. Otherwise this function returns a null
pointer.
On successful completion, the read2exp function returns a pointer to an allocated Exp_info structure. Otherwise this function returns a
null pointer.
SEE ALSO
read_reading(3), fread_reading(3), write_reading(3), fwrite_reading(3), scf(4), ExperimentFile(4)
scf2read(3)