Hi Folks,
I have a file with all fields defined by byte position, but any field can be empty so I cannot print lines based on a search of specific columns. I need to print all lines of this file where the string of two characters at byte position 100-101 contains the number 27. Any ideas?
... (4 Replies)
I need a script for...
how to find a position of column data and print some string in the next line and same position
position should find based on *HEADER8* in text
for ex: ord123 abs 123 987HEADER89 test234
ord124 abc 124 987HEADER88 test235
... (1 Reply)
Hi,
I am a newbie in unix programming so maybe this is a simple question.
I would like to know how can I make a script that outputs only the values that are not between any given start and end positions
Example
file1:
2 30
40 80
82 100
file2:
ID1 1
ID2 35
ID3 80
ID4 81
ID6... (9 Replies)
hi,
I have a file which consists of some records:
2010_06_4010093_001_001|10|ABCDEFGH|9|4010093||0040400||31.12.2009|S|O|X||||20100602093851-31.12.2009|XXBBFC|EFG||||00001|
2010_06_4010162_001_001|11|ABCDEFGH|9|4010162||0040400||31.12.2009|S|O|X||||20100602093851-31.12.2009|XXBBFC|EFG||||00002|... (11 Replies)
I want to remove text from nth position to nth position couple of times in same line
my line is
"hello is there anyone can help me with this question"
I need like this
ello is there anyone can help me with question
'h' is removed and 'this' removed from the line. I want to do this... (5 Replies)
Dear all,
i am having text file like below
surya
rama
ranga
laxman
rajesh
reddy
i want add string (OK) before a text from line 3 to 5
the result will be
surya
rama
OK ranga
OK laxman
OK rajesh
reddy (1 Reply)
Hi,
I have a file with multiple lines(fixed width dat file). I want to search for '02' in the positions 45-46 and if available, in that lines, I need to replace value in position 359 with blank. As I am new to unix, I am not able to figure out how to do this. Can you please help me to achieve... (9 Replies)
Hi All,
I wanted a sed/awk command to add a value/character on a particular position without disturbing the position of other characters.
I have file a.txt
OL 10031 Day Black Midi Good Value P01 P07
OL 10031 Day Black Short Good Value P01 P07
I want to get the output as... (2 Replies)
Discussion started by: rahulsk
2 Replies
LEARN ABOUT ULTRIX
dwtscrollbargetslider
DwtScrollBarGetSlider(3Dwt)DwtScrollBarGetSlider(3Dwt)Name
DwtScrollBarGetSlider - Retrieves the current size and position parameters of the slider in the scroll bar widget.
Syntax
void DwtScrollBarGetSlider(widget, value_return, shown_return,
inc_return, pageinc_return)
Widget widget;
int *value_return;
int *shown_return;
int *inc_return;
int *pageinc_return;
Arguments
widget Specifies the scroll bar widget ID.
value_return
Returns the scroll bar's top thumb (slider) position between the DwtNminValue and DwtNmaxValue attributes to the scroll bar wid-
get.
shown_return
Returns the size of the slider as a value between zero and the absolute value of DwtNmaxValue minus DwtNminValue. The size of
the slider varies, depending on how much of the slider scroll area it represents.
inc_return
Returns the amount of button increment and decrement.
pageinc_return
Returns the amount of page increment and decrement.
Description
The DwtScrollBarGetSlider function returns the currently displayed size/position values of the slider in the scroll bar widget. The scroll
region is overlaid with a slider bar that is adjusted in size and position using the main scroll bar or set slider function attributes.
The stepping arrows and the slider are the scroll activator objects providing the user interface syntax ``feel.''
See AlsoDwtScrollBarSetSlider(3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding
DwtScrollBarGetSlider(3Dwt)