Hello members,
I have some doubts on how to write a script that can reports success / failure of a batch job ?
1. Run a batch job:
2. Wait and search for a particular string in the Log file:
tail -f log01*.txt | egrep -v "^SUCCESSFUL"
echo "continue with the other tasks"
... (1 Reply)
I am trying to visually select a section of text in vim and then substitute for it using the :%s/ sequence.
First I visually select text. Then I yank using "ay. Then I type :%s/ followed by Control R and the register name, in this case a.
This fills in the text I have visually selected into... (6 Replies)
Hi
i have a log file, which keeps appending, i want to find "exceptions" in that log file and copy those exceptions to another file.
i am using
grep exception filename >> location where to copy
but as the file is appending, am not able to view.
i am using
tail -f command ,
... (5 Replies)
I downloaded vim.7.2 and compiled the vim source .
Added the vim binary path to PATH (Because iam not the root of the box)
when i load the file using vim it throws me an error
Error detected while processing /home2/e3003091/.vimrc:
line 2:
E185: Cannot find color scheme darkblue
line... (0 Replies)
I have a file with words that begin with character #. Whenver that character is found that word should be deleted throughout the file. How do I do that in VIM.
e.g:
afkajfa ladfa ljafa #222222 kjafad ljl
afajkj kjlj uouu #44444 jlkj lkjl
Output should be
afkajfa ladfa ljafa kjafad... (1 Reply)
Hey everyone,
I'm new to Linux and am attempting to run a TF2 server on a CentOS VPS (terminal only). I followed this guide (link below) and have arrived on step 4, creating a configuration file.
When I try to save the new file however, I get the E212: Can't open file for writing error.... (0 Replies)
There are some ksh files named as "*.lib" in my system. When I open them in VIM, vim syntax can't parse it correctly.
Is there a way that I can relate the *.lib with KSH syntax in VIM?
Due to access limitation, i can only update the files under my home directory and can't modify the VIM... (6 Replies)
I have a parts file that looks like this:
EE36264|0NH46||Y|A|EA|0|0|0|N|LUNETTE 3" ADJ. EYE|0|0|*|0|PEOZZU|N|12|N|N|VPS|N|N|N|N|LUNETTE 3" ADJ. EYE|0|||Receive into Inventory|81755|EE36264|*|*|*|0|0||EE36264|A|*|*
F1.5|53932||Y|A|EA|0|0|0|N|FLAT ZERO CAL... (4 Replies)
Hi,
I need to set up a script that would write the results of the ping command from one AIX server to another file may be every minute. Like this I need to gather the data for a period of 24 hours.
Can someone please help me with this?
G (5 Replies)
Hi
I have written below log monitoring script to egrep multiple words and redirect the output to a text file and its working fine but I want to add some more below given functionality to it, which is very advance and im not very good in it, so please help if you can :)
I am egrepping all the... (1 Reply)
Discussion started by: scazed
1 Replies
LEARN ABOUT CENTOS
xmdirection
XmDirection(library call) XmDirection(library call)
NAME
XmDirection -- Data type for the direction of widget components
SYNOPSIS
#include <Xm/Xm.h>
DESCRIPTION
XmDirection is the data type specifying the direction in which the system displays subwidgets, children of widgets, or other visual compo-
nents that are to be laid out. This data type also affects traversal order within tab groups.
XmDirection is implemented as an unsigned char bit mask. The horizontal and vertical directions can be specified independent of each
other. XmDirection also specifies the precedence of the horizontal and vertical directions relative to each other. For example, a value of
XmRIGHT_TO_LEFT_TOP_TO_BOTTOM lays out a component horizontally from right to left first, then vertically top to bottom.
XmDirection provides the following masks, each of which corresponds to a particular bit in XmDirection:
o XmRIGHT_TO_LEFT_MASK
o XmLEFT_TO_RIGHT_MASK
o XmTOP_TO_BOTTOM_MASK
o XmBOTTOM_TO_TOP_MASK
o XmPRECEDENCE_HORIZ_MASK
o XmPRECEDENCE_VERT_MASK
In addition to the preceding single bit masks, XmDirection also provides the following multiple bit masks. These multiple bit masks are
particularly useful as arguments to XmDirectionMatchPartial:
o XmHORIZONTAL_MASK
o XmPRECEDENCE_MASK
o XmVERTICAL_MASK
Motif also provides the following enumerated constants for specifying various combinations of directions:
XmRIGHT_TO_LEFT_TOP_TO_BOTTOM
Specifies that the components are laid out from right to left first, then top to bottom.
XmLEFT_TO_RIGHT_TOP_TO_BOTTOM
Specifies that the components are laid out from left to right first, then top to bottom.
XmRIGHT_TO_LEFT_BOTTOM_TO_TOP
Specifies that the components are laid out from right to left first, then bottom to top.
XmLEFT_TO_RIGHT_BOTTOM_TO_TOP
Specifies that the components are laid out from left to right first, then bottom to top.
XmTOP_TO_BOTTOM_RIGHT_TO_LEFT
Specifies that the components are laid out from top to bottom first, then right to left.
XmTOP_TO_BOTTOM_LEFT_TO_RIGHT
Specifies that the components are laid out from top to bottom first, then left to right.
XmBOTTOM_TO_TOP_RIGHT_TO_LEFT
Specifies that the components are laid out from bottom to top first, then right to left.
XmBOTTOM_TO_TOP_LEFT_TO_RIGHT
Specifies that the components are laid out from bottom to top first, then left to right.
XmTOP_TO_BOTTOM
Specifies that the components are laid out from top to bottom. If horizontal direction is important, do not use this constant.
XmBOTTOM_TO_TOP
Specifies that the components are laid out from bottom to top. If horizontal direction is important, do not use this constant.
XmDEFAULT_DIRECTION
Specifies that the components are laid out according to the default direction. (This constant is primarily for widget writers.)
XmLEFT_TO_RIGHT
Specifies that the components are laid out from left to right. If vertical direction is important, do not use this constant.
XmRIGHT_TO_LEFT
Specifies that the components are laid out from right to left. If vertical direction is important, do not use this constant.
RELATED XmDirectionMatch(3), XmDirectionMatchPartial(3), XmDirectionToStringDirection(3), XmString(3), XmStringDirection(3), and XmStringDirection-
ToDirection(3).
XmDirection(library call)