Sponsored Content
Full Discussion: shape up the script
Top Forums Shell Programming and Scripting shape up the script Post 13468 by udi on Thursday 17th of January 2002 12:46:18 PM
Old 01-17-2002
CPU & Memory shape up the script

HI all !

does anyone have an idea how can i make a script
look better ??

what i mean is thah

its a menu that is being activated with case options.

i need it to look better , is there a way to do it on unix ??

(except with ==== & ****** )

10x alot

bye
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

V shape

Hi, Im new to UNIX and figured I should sign up to this board to get some help. I was wondering if someone can help me out with a CShell script. Im trying to get it to display a V shape of the word school. Using a while loop i.e S S C C H H OO L (1 Reply)
Discussion started by: SilverFang
1 Replies

2. Shell Programming and Scripting

create a shell script that calls another script and and an awk script

Hi guys I have a shell script that executes sql statemets and sends the output to a file.the script takes in parameters executes sql and sends the result to an output file. #!/bin/sh echo " $2 $3 $4 $5 $6 $7 isql -w400 -U$2 -S$5 -P$3 << xxx use $4 go print"**Changes to the table... (0 Replies)
Discussion started by: magikminox
0 Replies

3. Solaris

How to make man outputs in English look in good shape?

Hi, My question is how to make man outputs in English look in good shape. I use OpenSolais with a locale setting "LANG=ja_JP.UTF-8". Under this circumstance running "man something" shows Japanese translated man pages, but I need to read original English man explanations occasionally. "LANG=C... (2 Replies)
Discussion started by: fragile_it
2 Replies

4. Shell Programming and Scripting

Script will keep checking running status of another script and also restart called script at night

I am using blow script :-- #!/bin/bash FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not if then # echo "process found" exit 0; else echo "process not found" exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Discussion started by: ketanraut
1 Replies

5. UNIX for Dummies Questions & Answers

Calling a script from master script to get value from called script

I am trying to call a script(callingscript.sh) from a master script(masterscript.sh) to get string type value from calling script to master script. I have used scripts mentioned below. #masterscript.sh ./callingscript.sh echo $fileExist #callingscript.sh echo "The script is called"... (2 Replies)
Discussion started by: Raj Roy
2 Replies

6. Shell Programming and Scripting

Shell script works fine as a standalone script but not as part of a bigger script

Hello all, I am facing a weird issue while executing a code below - #!/bin/bash cd /wload/baot/home/baotasa0/sandboxes_finance/ext_ukba_bde/pset sh UKBA_publish.sh UKBA 28082015 3 if then echo "Param file conversion for all the areas are completed, please check in your home directory"... (2 Replies)
Discussion started by: ektubbe
2 Replies

7. Shell Programming and Scripting

How to block first bash script until second bash script script launches web server/site?

I'm new to utilities like socat and netcat and I'm not clear if they will do what I need. I have a "compileDeployStartWebServer.sh" script and a "StartBrowser.sh" script that are started by emacs/elisp at the same time in two different processes. I'm using Cygwin bash on Windows 10. My... (3 Replies)
Discussion started by: siegfried
3 Replies
menu_opts(3CURSES)					     Curses Library Functions						menu_opts(3CURSES)

NAME
menu_opts, set_menu_opts, menu_opts_on, menu_opts_off - menus option routines SYNOPSIS
cc [ flag... ] file... -lmenu -lcurses [ library... ] #include <menu.h> OPTIONS menu_opts(MENU *menu); int set_menu_opts(MENU *menu, OPTIONS opts); int menu_opts_on(MENU *menu, OPTIONS opts); int menu_opts_off(MENU *menu, OPTIONS opts); DESCRIPTION
Menu Options set_menu_opts() turns on the named options for menu and turns off all other options. Options are boolean values that can be OR-ed together. menu_opts_on() turns on the named options for menu; no other option is changed. menu_opts_off() turns off the named options for menu; no other option is changed. menu_opts() returns the current options of menu. The following values can be OR'd together to create opts. O_ONEVALUE Only one item can be selected from the menu. O_SHOWDESC Display the description of the items. O_ROWMAJOR Display the menu in row major order. O_IGNORECASE Ignore the case when pattern matching. O_SHOWMATCH Place the cursor within the item name when pattern matching. O_NONCYCLIC Make certain menu driver requests non-cyclic. RETURN VALUES
Except for menu_opts(), these routines return one of the following: E_OK The routine returned successfully. E_SYSTEM_ERROR System error. E_POSTED The menu is already posted. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
curses(3CURSES), menus(3CURSES), attributes(5) NOTES
The header <menu.h> automatically includes the headers <eti.h> and <curses.h>. SunOS 5.11 31 Dec 1996 menu_opts(3CURSES)
All times are GMT -4. The time now is 11:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy