10-15-2004
arunkumar, thank you very much, I did not realize that hidden files were not displayed. Your suggestion is much appreciated....... Ray
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. Shell Programming and Scripting
This is driving me mad, where am I going wrong?
The relevant segment of code:
sub getndsybcons {
my @servers=@{$_};
my @sybservers=@{$_};
my %results;
foreach my $server(@servers) {
my $biggestsyb;
my $biggestsybval=0;
... (9 Replies)
Discussion started by: Smiling Dragon
9 Replies
3. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
4. Shell Programming and Scripting
If I enter (simplified):
find . -printf "%p\n"
then all files in the output are prepended by a "." like
./local/share/test23.log
How can achieve that
a.) the leading "./" is omitted
and/or
b.) the full path to the current directory is inserted (enclosed by brackets and a blank)... (1 Reply)
Discussion started by: pstein
1 Replies
5. Post Here to Contact Site Administrators and Moderators
Majority of the questions are pertaining file/string parsing w.r.t
sed
or
awk
It would be nice to have these two as their own sub category under shell-programming-scripting which can avoid lot of duplicate posts. (1 Reply)
Discussion started by: jville
1 Replies
6. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
7. Shell Programming and Scripting
These three finds worked as expected:
$ find . -iname "*.PDF"
$ find . -iname "*.PDF" \( ! -name "*_nobackup.*" \)
$ find . -path "*_nobackup*" -prune -iname "*.PDF"
They all returned the match:
./folder/file.pdf
:b:
This find returned no matches:
$ find . -path "*_nobackup*" -prune... (3 Replies)
Discussion started by: wolfv
3 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT LINUX
xtunrealizewidget
XtRealizeWidget(3) XT FUNCTIONS XtRealizeWidget(3)
NAME
XtRealizeWidget, XtIsRealized, XtUnrealizeWidget - realize and unrealize widgets
SYNTAX
void XtRealizeWidget(Widget w);
Boolean XtIsRealized(Widget w);
void XtUnrealizeWidget(Widget w);
ARGUMENTS
w Specifies the widget.
DESCRIPTION
If the widget is already realized, XtRealizeWidget simply returns. Otherwise, it performs the following:
o Binds all action names in the widget's translation table to procedures (see Section 10.1.2).
o Makes a post-order traversal of the widget tree rooted at the specified widget and calls the change_managed procedure of each compos-
ite widget that has one or more managed children.
o Constructs an XSetWindowAttributes structure filled in with information derived from the Core widget fields and calls the realize pro-
cedure for the widget, which adds any widget-specific attributes and creates the X window.
o If the widget is not a subclass of compositeWidgetClass, XtRealizeWidget returns; otherwise, it continues and performs the following:
- Descends recursively to each of the widget's managed children and calls the realize procedures. Primitive widgets that instanti-
ate children are responsible for realizing those children themselves.
- Maps all of the managed children windows that have mapped_when_managed True. (If a widget is managed but mapped_when_managed is
False, the widget is allocated visual space but is not displayed. Some people seem to like this to indicate certain states.)
If the widget is a top-level shell widget (that is, it has no parent), and mapped_when_managed is True, XtRealizeWidget maps the widget
window.
The XtIsRealized function returns True if the widget has been realized, that is, if the widget has a nonzero X window ID.
Some widget procedures (for example, set_values) might wish to operate differently after the widget has been realized.
The XtUnrealizeWidget function destroys the windows of an existing widget and all of its children (recursively down the widget tree). To
recreate the windows at a later time, call XtRealizeWidget again. If the widget was managed, it will be unmanaged automatically before its
window is freed.
SEE ALSO
XtManageChildren(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.1.3 XtRealizeWidget(3)