I have the following data :
I would like to print this data in the following format :
I'm still very new and trying to learn how extract specfic data and print .
Please assist.
Last edited by Scott; 01-14-2011 at 06:06 AM..
Reason: Please use code tags
How do I delete text in each line from the first character up to a certain pattern, ie. 'qmuser.' and then delete from the next occurence of a dot to the end of the sentence
For example: -
LTSB Renewal Notice Travel Pack --- d \qmaster\spool1\qmuser.8664_LM245_20031216094308.ps.0
From this... (7 Replies)
Hello,
Like many Unix shops, Our systems send Email alerts whenever things break. I have been tasked with writing a shell script to get the email alerts from Sendmail, extract the Date / Time, From, Subject, and message text from the emails and punch them into a MySQL DB. This will then be... (3 Replies)
I have attached a txt file, what I would like to be able to do is:
1. Extract Data from Columns labeled E/N and Ko into a new file
2. Then in the new file I would like to be able to plot E/N on the X axis and Ko on the y axis.
3. Lastly I would like to be able to extract multiple data sets and... (6 Replies)
Hi there, I have a bunch of vlan tagged network interfaces that are named as follows
e1000g111000
e1000g99001
e1000g3456000
nge2002
where the 'e1000g' and 'nge' parts of the name are the driver, the red and blue bits above define the VLAN and the last digit on the end defines the... (3 Replies)
Hi,
I have one file, say file 1, that has data like below where 19900107 is the date,
19900107 12 144 129 0.7380047
19900108 12 168 129 0.3149017
19900109 12 192 129 3.2766666E-02
... (3 Replies)
I have a txt file of the following format
>ab_
qwerty
>rt_
hfjkil
>Ty2
hglashglkasghkf;
>P2
aklhfklflkkgfgkfl
>ui_
vnllkdskkkffkfkkf
>we32
vksksjksj;lslsf'sk's's
....
.....
I want to split this big file based on the header (>) (5 Replies)
I am trying to compare the data in lines 3 & 5 to see if they match up to the '-S570' (see first code set, all proprietary information has been removed from code set)
spawn telnet
Trying ...
Connected to CA-LOS1234-ASE-S570.cl .
Escape character is '^]'.
CA-LOS1234-ASE-S570
Username: ... (1 Reply)
I have a script which is supposed to log in to my vB account and print my security token, however doesn't seem to work globally. The logging in works perfectly just will not retrieve and print the security token for every forum I log in to. Code Below:
#!/usr/bin/perl
use LWP::UserAgent;
... (8 Replies)
This is my input file:
a|b|c(ef)|g|h(km)|p
My output file should look like:
a|b|ef|g|km|p
That is, pipe is the delimiter. The data within pipe must be displayed as it is but if it encounters any data within parentheses, then only the data within parentheses has to be displayed ( the data... (2 Replies)
Discussion started by: ksatish89
2 Replies
LEARN ABOUT OSF1
xmscrollbarsetvalues
XmScrollBarSetValues(3X)XmScrollBarSetValues(3X)NAME
XmScrollBarSetValues - A ScrollBar function that changes ScrollBar's increment values and the slider's size and position
SYNOPSIS
#include <Xm/ScrollBar.h>
void XmScrollBarSetValues (widget, value, slider_size, increment, page_increment, notify)
Widget widget;
int value;
int slider_size;
int increment;
int page_increment;
Boolean notify;
DESCRIPTION
XmSetScrollBarValues changes the ScrollBar's increment values and the slider's size and position. The scroll region is overlaid with a
slider bar that is adjusted in size and position using the main ScrollBar or set slider function attributes. Specifies the ScrollBar wid-
get ID. Specifies the ScrollBar's slider position between XmNminimum and XmNmaximum. The resource name associated with this argument is
XmNvalue. Specifies the size of the slider as a value between zero and the absolute value of XmNmaximum minus XmNminimum. The size of the
slider varies, depending on how much of the slider scroll area it represents. This sets the XmNsliderSize resource associated with Scroll-
Bar. Specifies the amount of button increment and decrement. If this argument is not zero, the ScrollBar widget automatically adjusts the
slider when an increment or decrement action occurs. This sets the XmNincrement resource associated with ScrollBar. Specifies the amount
of page increment and decrement. If this argument is not zero, the ScrollBar widget automatically adjusts the slider when an increment or
decrement action occurs. This sets the XmNpageIncrement resource associated with ScrollBar. Specifies a Boolean value that when True,
indicates a change in the ScrollBar value and also specifies that the ScrollBar widget automatically activates the XmNvalueChangedCallback
with the recent change. If False, specifies any change that has occurred in the ScrollBar's value, but XmNvalueChangedCallback is not
activated.
For a complete definition of ScrollBar and its associated resources, see XmScrollBar(3X).
SEE ALSO XmScrollBar(3X)XmScrollBarSetValues(3X)