CURSES_UNDERSCORE(3) BSD Library Functions Manual CURSES_UNDERSCORE(3)NAME
curses_underscore, underscore, underend, wunderscore, wunderend -- curses underscore attribute manipulation routines
LIBRARY
Curses Library (libcurses, -lcurses)
SYNOPSIS
#include <curses.h>
int
underscore(void);
int
underend(void);
int
wunderscore(void);
int
wunderend(void);
DESCRIPTION
These functions manipulate the underscore attribute on stdscr or on the specified window.
The underscore() function turns on the underscore attribute on stdscr. The underend() function turns off the underscore attribute on stdscr.
The wunderscore() and wunderend() functions are equivalent to underscore() and underend(), respectively, excepting that the attribute is
manipulated on the window specified by win.
The underscore() and underend() functions are equivalent to wattron(A_UNDERLINE) and wattroff(A_UNDERLINE), respectively.
RETURN VALUES
These functions always return 1.
SEE ALSO curses_attributes(3), curses_standout(3)STANDARDS
The NetBSD Curses library complies with the X/Open Curses specification, part of the Single Unix Specification.
HISTORY
These functions first appeared in NetBSD 1.5.
BSD October 13, 2002 BSD
Check Out this Related Man Page
CURSES_UNDERSCORE(3) BSD Library Functions Manual CURSES_UNDERSCORE(3)NAME
curses_underscore, underscore, underend, wunderscore, wunderend -- curses underscore attribute manipulation routines
LIBRARY
Curses Library (libcurses, -lcurses)
SYNOPSIS
#include <curses.h>
int
underscore(void);
int
underend(void);
int
wunderscore(void);
int
wunderend(void);
DESCRIPTION
These functions manipulate the underscore attribute on stdscr or on the specified window.
The underscore() function turns on the underscore attribute on stdscr. The underend() function turns off the underscore attribute on stdscr.
The wunderscore() and wunderend() functions are equivalent to underscore() and underend(), respectively, excepting that the attribute is
manipulated on the window specified by win.
The underscore() and underend() functions are equivalent to wattron(A_UNDERLINE) and wattroff(A_UNDERLINE), respectively.
RETURN VALUES
These functions always return 1.
SEE ALSO curses_attributes(3), curses_standout(3)STANDARDS
The NetBSD Curses library complies with the X/Open Curses specification, part of the Single Unix Specification.
HISTORY
These functions first appeared in NetBSD 1.5.
BSD October 13, 2002 BSD
Hi all
how can can remove the underscore from this number in this series
_1234567.abc
_1234567.abcd
I was trying mv _1234567* 1234567
but did not work ?
thanks
s (2 Replies)
Hi all,
I'm hoping you can help.. I've used this forum a couple of times and I am back again now i've moved onto something more complex (for me!)
I have some data which looks like:
"AL1_1,AL1_1,"
"AL1_1.AL1_1A.AL1_1AE,AL1_1AE,"
"AL1_1.AL1_1A.AL1_1AG,AL1_1AG,"
"AL1_1.AL1_1A.AL1_1AJ,AL1_1AJ,"... (10 Replies)
having trouble with this seemingly simple taks.. :mad:
Test data:
we want to keep lines 2,3 & 4
-- want to exclude when ${.*schema} is preceded with an underscore; Valid {.*schema} should always be preceded spaces or be found at the beginning of a line.
egrep... (5 Replies)
I have a file like
ABCD_1_0
ABCD_25_6
ABCD_326_12
ABCD_10_3
where ABCD (can be something else) but always 4 characters followed by a underscore and then numbers that go from 1-9999 and then followed by underscore and then a number that can go from 0-100
from this file I want to... (5 Replies)
How does adding an underscore change a google search? I was searching for John Elway and got different results with and without an unscore. (3 Replies)
Hi Folks,
Anybody has an idea how to split string based on separator _ (underscore) in Expect programming language?
e.g.if string is scmid1_scmid2 , i need to separate these two strings as scmid1 and scmid2.
Thanks in advance.
Sanket (1 Reply)
Hi all,
I have to insert underscore at certain places(places before and after PAxxx/PAxxxx entries in a big file like this
ESR1 PA156 leflunomide PA450192
CHST3 PA26503 docetaxel tungstate Pa4586; thalidomide Pa34958;
PAxxx/PAxxxx entries are metioned between 2 names in each row
... (4 Replies)
Hi
I tried to put underscore in place of column in a big file with lots of oclumns using the programm
sed 's//_/g'
Its showing error
bash-3.2$ sed 's//_/g'saradrugbankgenedrugnewlist.txt >saradrugbankgenedrugnewlist3.txt
sed: -e expression #1, char 11: unknown option to `s'
if... (24 Replies)
Hi,
Have to filter out string before the last underscore in the following
input: UNIX_Solaris_59_KSH
output: UNIX_Solaris_59
dummy one but :mad:
Thanks & Regards,
Sourabh Singh Khichi (4 Replies)
Hello,
I have a file name like FIRST_DPF_DAILY_CUST_0826152322.txt
i need to extract the string after the third "_" underscore upto timestamp ends i.e CUST_0826152322
can anyone help me with the code
Thank you!
Regards
Srikanth Sagi (3 Replies)
I want to rename all files and folder containing underscore in name and replace underscore with hyphen.
Currently I am using following code,
rename '_' '-' */*/*
It was working but now it is showing me "Argument list too long"
Please help! (2 Replies)
I want to swap hyphen (-) and underscore (_) in a string. In fact only one will be present. So if it is hyphen I want to make it underscore and if it is underscore I want to make it hyphen.
I can write a long code like below. Is there any easy way?
#!/bin/ksh
typeset -i exists... (3 Replies)
Like I have below string
XX_49154534_491553_201_122023_D
XX_49159042_491738_201_103901_D
and the expected output would be
0154534
0159042
XX and 49 can be dynamic. (1 Reply)