Hi,
I'm writting a script to filter a cvs log and get only the modified files to move them to a specific directory to compile.
I try to filter a line and move from source to target, with no results. Could you help me?
for example, in the cvs log file appears:
cat log.txt
U... (2 Replies)
when the file is not found i want it to return to the menu, however it carries out the next line when i hit a key
I know its probably something simple can anyone help?
here is my pause function:
function pause(){
read -s -n 1 -p "Press any key to return to Menu . . ."
echo
}
SCRIPT... (2 Replies)
Hi there. I'm trying to teach myself UNIX but the book I bought is a bit confusing. I'm trying out this exercise and I think I'm on the right track, but I'd appreciate any suggestions on how to improve what I have so far. Also, I'm not clear on how to use the read command to utilize the user's... (3 Replies)
Hi
How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Hi there, I am new to Unix and at the moment
I am trying to solve my assignment that is to create a script for the program
to prompt user to type three codes,
from user point of view it should be done by
typing codes separating them by spaces.
Then program displays a menu with these three... (5 Replies)
hi guys, how would you do the following? I have a menu with 5 options in my shell script:
1. Run function 1 against files
2. Run function 2 against files
3. Run function 3 against files
4. Run function 4 against files
5. Run function 5 against files
I'd like to be able to run multiple... (10 Replies)
Hi,
I need to have a shell script for the below need.
1. Menu with one heading and 4 options.
2. the heading and 4 options are taken from a file.
File entry
======
Heading1|option1|option2|option3|option4|
Heading2|option1|option2|option3|option4|
3. the user entries must be captured in... (9 Replies)
Hi All,
I have written a shell script that show menu driven option.
My requirement is that in the menu driven option i want to select multiple choice.
i.e
if i want to select 1 or 1,2 or 1,2,3 or 2,3 etc ....
Can some one help me in that
My script.
while true; do
echo " "
... (8 Replies)
hi all
i am trying to get help with writing a script using case statement to display menu as
1) Authentication log
2) System log
3) Messages
4) Dmesg
5) Boot log
Q) Exit
When selecting the menu by 1 or 2 or 3 o 4 or 5, it should display the last 10 lines of the log files,
if... (3 Replies)
Discussion started by: renegade11
3 Replies
LEARN ABOUT HPUX
xmaddtopostfromlist
XmAddToPostFromList(library call) XmAddToPostFromList(library call)
NAME
XmAddToPostFromList -- a RowColumn function that makes a menu accessible from more than one widget
SYNOPSIS
#include <Xm/RowColumn.h>
void XmAddToPostFromList(
Widget menu,
Widget post_from_widget);
DESCRIPTION
XmAddToPostFromList makes a menu accessible from more than one widget. After a menu is once created, this function may be used to make that
menu accessible from a second widget. The process may be repeated indefinitely. In other words, where an application would use XmCreatePop-
upMenu or XmCreatePulldownMenu or their equivalent to create a new menu identical to one that already exists, it can use this function to
reuse that earlier menu.
If menu refers to a Popup menu, then the post_from_widget widget can now pop up the specified menu. The actual posting of the menu occurs
as it always does, either through an event handler, or the automatic popup menu support (see the XmRowColumn(3) reference page).
If menu refers to a Pulldown menu, its ID is placed in the XmNsubMenuId resource of the specified post_from_widget. In this case, the
post_from_widget widget must be either a CascadeButton or a CascadeButtonGadget.
Note that this function manipulates the internal structures themselves, not a copy of them.
menu Specifies the ID of the RowColumn widget containing the menu (Popup or Pulldown) to be made accessible from the widget.
post_from_widget
Specifies the widget ID of the widget which will now be able to post the menu specified by menu.
For a complete definition of RowColumn and its associated resources, see XmRowColumn(3).
RELATED XmGetPostedFromWidget(3), XmRemoveFromPostFromList(3), and XmRowColumn(3).
XmAddToPostFromList(library call)