Hi how do i grep only a part of the line from a file from all the lines.
file:
asdfgh 543212376 nag
lkjh abhilash 543757858
How do i grep and print only 543212376 and 543757858
Can i grep something like 543* and print only that. (3 Replies)
Hello everyone,
I have been trying to get a list of all files containing a line of this type:
};#followed by anything
with any spaces (0 or more or 0 or more tabs) before the } and between each of the characters.
I have been trying this :
grep '*}*;*#*' *.c
but I have not been fully... (1 Reply)
Hi I have the following Input
--
-- TABLE: BUSINESS_UNIT
--
ALTER TABLE RATINGS.BUSINESS_UNIT ADD CONSTRAINT FK1_BUSINESS_UNIT
FOREIGN KEY (PEOPLESOFT_CHART_FIELD_VALUE_ID)
REFERENCES RATINGS.PEOPLESOFT_CHART_FIELD_VALUE(PEOPLESOFT_CHART_FIELD_VALUE_ID)
;
ALTER TABLE... (1 Reply)
I have a txt file with more than 10000 lines. There is a unique pattern which is scattered into the file. it starts with @9 and it has 15 characters. i need to grep them and display along with line numbers.
Eg: File - Test1
test message....
....
..
..
@9qwerty89
...test message... (8 Replies)
Hi,
I have got the below requirement. please suggest.
I have a file like,
Processing Item is:
/data/ing/cfg2/abc.txt
/data/ing/cfg3/bgc.txt
Processing Item is:
/data/cmd/for2/ght.txt
/data/kernal/config.klgt.txt
I want to process the above file to get the output file like,
... (5 Replies)
$ cat file.log
Message Number = : Sending message 10:50:16^|^reqhdr.dummyid^=^02^|^reqhdr.timezone^=^GMT+05:30^|^DUMMYREQUEST^=^BH||||||||||||||||||$BD|OL|C|V||DummyAcctNo|02||24/12/2011|ST_DDM|DDM||||||||reqUUID110612105016$BT||||||||||||||||||$] Length
I have the above line in the... (4 Replies)
here is what i want to achieve.. i have a file with below contents
cat fileName
blah blah blah
.
.DROP this
REJECT that
.
--sport 7800 -j REJECT --reject-with icmp-port-unreachable
--dport 7800 -j REJECT --reject-with icmp-port-unreachable
.
.
.
more blah blah blah
--dport 3306... (14 Replies)
Hi ,
I have a file where i have modifed certain things compared to original file . The difference of the original file and modified file is as follows.
# diff mir_lex.c.modified mir_lex.c.orig
3209c3209
< if(yy_current_buffer -> yy_is_our_buffer == 0) {
---
>... (5 Replies)
I have a file with a list of references towards the end and want to apply a grep for some string.
text ....
@unnumbered References
@sp 1
@paragraphindent 0
2017. @strong{Chalenski, D.A.}; Wang, K.; Tatanova, Maria; Lopez,
Jorge L.; Hatchell, P.; Dutta, P.; @strong{Small airgun... (1 Reply)
Discussion started by: kristinu
1 Replies
LEARN ABOUT NETBSD
akbd
AKBD(4) BSD Kernel Interfaces Manual AKBD(4)NAME
akbd -- Apple Desktop Bus keyboard driver for wscons
SYNOPSIS
akbd* at obio?
wskbd* at akbd? console ?
options ALTXBUTTONS
options CAPS_IS_CONTROL
options FORCE_FUNCTION_KEYS
DESCRIPTION
This driver provides the wscons(4) driver with support for Apple Desktop Bus keyboards.
To work around the limited number of buttons found on most ADB mice, one can map key sequences to trigger mouse button events. To map
Option+1, Option+2, Option+3 to mouse buttons 1, 2, and 3 respectively, add the following line to your kernel configuration file:
options ALTXBUTTONS
On macppc systems it is possible to tweak the keyboard driver to treat the caps lock key on an ADB keyboard as a control key. This requires
special remapping because of ADB's strange emulation of a mechanically-locked key. To enable this code add the following line to your kernel
configuration file:
options CAPS_IS_CONTROL
On macppc PowerBooks, several function keys double as "hot keys" (brightness, volume, eject) when the Fn modifier is held down. Mac OS X
likes to reprogram the keyboard controller to send hot key events when Fn is not held down and send function key events when it is. To
transform the non-keyboard "button" events back into function key events, place the following line in your kernel configuration file:
options FORCE_FUNCTION_KEYS
SUPPORTED HARDWARE
NetBSD is known to support the following ADB keyboards:
o On-board keyboards on PowerBook models
o Apple Standard Keyboard
o Apple Keyboard II
o Apple Extended Keyboard
o Apple Extended Keyboard II
o Apple Adjustable Keyboard
o Most third-party ADB keyboards are supported
SEE ALSO adb(4), wscons(4), wskbd(4), wsconsctl(8)BUGS
The number pad on extended keyboards does not send out the proper key codes for many applications.
The LEDs on extended keyboards are not functional under NetBSD.
BSD September 21, 2003 BSD