Is your version of "less" command 32 or 64 bit ?
you can check it with the file command :
2^32 = 4294967296
so above 4Gb if your OS and or the less command is 32 bit try to handle bigfiles you may encounter problems...
Hi,
Can anyone tell me..how to highlight a particular part of ur output text in shell programming..say,if all the o/p is against black bground,i need some text to be against white bground..
eg..You can see some text highlighted in man pages .Right??
But how ll you do that.
Thanx (6 Replies)
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)
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)
This is not a technical question per se, but one I'm hoping one of the "old guard" might be able to answer all the same. I'm looking for the etymology of the word "hotfix" which is surprisingly murky in its origin, even with the help of Google. A quick look at Wikipedia, for example, cites World of... (1 Reply)
Hi All,
Thanks all for the continued support so far.
Today, I need to find the most occurring string/number(also called mode in statistics terminology) for each column in a data file (.csv type).
For one column of data(1.txt) like below
Sample
1
2
2
3
4
1
1
1
2
I can find the mode... (6 Replies)
Hello.
Following recommendations for one of my threads, this is working perfectly :
#!/bin/bash
CNT=$( grep -c -e "some text 1" -e "some text 2" -e "some text 3" "/tmp/log_file.txt" )
Now I need a grep success for some thing like :
#!/bin/bash
CNT=$( grep -c -e "some text_1... (4 Replies)
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)
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)
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT REDHAT
xmtextfieldsethighlight
XmTextFieldSetHighlight(library call) XmTextFieldSetHighlight(library call)
NAME
XmTextFieldSetHighlight -- A TextField function that highlights text
SYNOPSIS
#include <Xm/TextF.h>
void XmTextFieldSetHighlight(
Widget widget,
XmTextPosition left,
XmTextPosition right,
XmHighlightMode mode);
DESCRIPTION
XmTextFieldSetHighlight highlights text between the two specified character positions. The mode parameter determines the type of highlight-
ing. Highlighting text merely changes the visual appearance of the text; it does not set the selection.
widget Specifies the TextField widget ID
left Specifies the position of the left boundary of text to be highlighted. This is an integer number of characters from the begin-
ning of the text buffer. The first character position is 0 (zero).
right Specifies the position of the right boundary of text to be highlighted. This is an integer number of characters from the begin-
ning of the text buffer. The first character position is 0 (zero).
mode Specifies the type of highlighting to be done. A value of XmHIGHLIGHT_NORMAL removes highlighting. A value of XmHIGH-
LIGHT_SELECTED highlights the test using reverse video. A value of XmHIGHLIGHT_SECONDARY_SELECTED highlights the text using
underlining.
For a complete definition of TextField and its associated resources, see XmTextField(3).
RELATED XmTextField(3).
XmTextFieldSetHighlight(library call)