08-01-2004
Well, mine I guess is sadly one of the plain ones.
It was given to me at birth so that limited my options later on.
I didn't think either that I'd frequent the site as much as I do; had I, I might have used a differnt label.
unix.com is a great site and we are all better for it.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Found this piece of code written in ksh. I have no ideas what do the stuff like ${SRF##*\.} do.
SUFFIX=${SRF##*\.}
if ; then
SUFFIX=""
fi
I have encountered similar expressions in other programs also. Any pointers on where to learn more about these... (1 Reply)
Discussion started by: jyotipg
1 Replies
2. Post Here to Contact Site Administrators and Moderators
woofie,
Your posts are being deleted because your use of profanity.
I am close to changing your status to read only.
In fact, if you argue with the mods again, I will ban you from these boards.
Neo (1 Reply)
Discussion started by: Neo
1 Replies
3. Shell Programming and Scripting
Hi,
whats the difference between $* and $@ in command line arguments to a shell scripts (3 Replies)
Discussion started by: pbsrinivas
3 Replies
4. Shell Programming and Scripting
#! /bin/bash
head -5 $1
echo "remove $1 ?"
read answer
if
then
echo invalid answer
elif
rm $1
echo "$1 is deleted"
elif
then
echo file is not deleted
else
echo "invalid answer"
fi
What i really want this to do is to ask to delete the file or not..it says something wrong... (1 Reply)
Discussion started by: nadman123
1 Replies
5. Shell Programming and Scripting
#! /bin/bash
USAGE=" | ]
if
then
echo "$USAGE"
exit 1
fi
while getopts lb: OPTION
do
case $(OPTION)in
a) echo Hi there!
exit 2;;
b) echo hello
o) OARG=$OPTARG;;
\?)echo "$USAGE" ;;
exit 2;;
esac
done
shift `expr... (1 Reply)
Discussion started by: nadman123
1 Replies
6. Shell Programming and Scripting
hi all,
i found NAME=${0##*/} in a script.
i given this coomand in my unix box(presently in ksh).
echo ${0##*/} it returned ksh.
the purpose of the above is to return the shell name or more than that.
do you have any more information like this, please share with me.
one more query... (7 Replies)
Discussion started by: Arunprasad
7 Replies
7. Shell Programming and Scripting
Hi all,
could you please tell me whats this stands
##*_
0##*/
i knew this alone if some more is there please tell me that also. (3 Replies)
Discussion started by: Arunprasad
3 Replies
8. UNIX for Dummies Questions & Answers
can anyone tell me why this code doesn't work how its supposed to, its the hangman game but it doesn't play how its supposed to
#!/bin/bash
NoAttempts="0"
livesgiven="5"
LivesRemain=$livesgiven
LettersAttempted=""
wordfile=words
numwords=0
function menu()
{
clear
cat << menu... (1 Reply)
Discussion started by: ferrycorsten73
1 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
ls -ld htdocs
drwxr-x--- 3 root root 8192 2006-11-19 10:41 htdocs
How would a host administrator... (1 Reply)
Discussion started by: Larry_1
1 Replies
LEARN ABOUT OSF1
xmdropsiteconfigurestackingorder
XmDropSiteConfigureStackingOrder(3X) XmDropSiteConfigureStackingOrder(3X)
NAME
XmDropSiteConfigureStackingOrder - A Drag and Drop function that reorders a stack of widgets that are registered drop sites
SYNOPSIS
#include <Xm/DragDrop.h>
void XmDropSiteConfigureStackingOrder (widget, sibling, stack_mode)
Widget widget;
Widget sibling;
Cardinal stack_mode;
DESCRIPTION
XmDropSiteConfigureStackingOrder changes the stacking order of the drop site specified by widget. The stacking order controls the manner
in which drag-under effects are clipped by overlapping siblings, regardless of whether they are active. The stack mode is relative either
to the entire stack, or to another drop site within the stack. The stack order can be modified only if the drop sites are siblings in both
the widget and drop site hierarchy, and the widget parent of the drop sites is registered as a composite drop site. Specifies the drop
site to be restacked. Specifies a sibling drop site for stacking operations. If specified, then widget is restacked relative to this drop
site's stack position. Specifies the new stack position for the specified widget. The values are XmABOVE and XmBELOW. If a sibling is
specified, then widget is restacked as follows: The widget is placed just above the sibling. The widget is placed just below the sibling.
If the sibling parameter is not specified, then widget is restacked as follows: The widget is placed at the top of the stack. The
widget is placed at the bottom of the stack.
For a complete definition of DropSite and its associated resources, see XmDropSite(3X).
SEE ALSO
XmDropSite(3X), XmDropSiteRetrieve(3X), XmDropSiteQueryStackingOrder(3X)
XmDropSiteConfigureStackingOrder(3X)