need help on this. let say i hv 1 file contains as below:
STRING
Description bla bla bla
Description yada yada yada
Data bla bla
Data yada yada
how do i want to display n lines after the string?
thanks in advance! (8 Replies)
Hi experts,
I want to grep a number 9366109380 from a file but it will also show me the next 5 lines. Below is the example-
when i grep 989366109380, i can also see the next 5 lines.
Line 1. <fullOperation>MAKE:NUMBER:9366109380:PPAY2;</fullOperation>
Line 2.... (10 Replies)
i need to grep a STRING_A & the next few lines after the STRING_A
example file:
STRING_A yada yada
line 1
line 2
STRING_B yada yada
line 1
line 2
line 3
STRING_A yada yada
line 1
line 2
line 3
line 4
STRING_A yada yada
line 1
line 2
line 3
line 4 (7 Replies)
I have several very large file that are extracts from Oracle tables. These files are formatted in XML type syntax with multiple entries like:
<ROW>
some information
more information
</ROW>
I want to grep for some words, then print all lines between <ROW> AND </ROW>. Can this be done with AWK?... (7 Replies)
This is a variation of an earlier post found here:
unixcom/shell-programming-scripting/159821-merge-two-non-consecutive-lines.html
User Bartus11 was kind enough to solve that example.
Previously, I needed help combining two lines that are non-consecutive in a file. Now I need to do the... (7 Replies)
I have a file lake this
cat ex1.txt
</DISCOUNTS>
<B2B_SPECIFICATION elem="0">
<B2B_SPECIFICATION elem="0">
<DESCR>Netti 2 </DESCR>
<NUMBER>D02021507505</NUMBER>
</B2B_SPECIFICATION>
<B2B_SPECIFICATION elem="1">
<DESCR>Puhepaketti</DESCR>... (2 Replies)
I have a large dataset with following structure;
C 0001 Carbon
D SAR001 methane
D SAR002 ethane
D SAR003 propane
D SAR004 butane
D SAR005 pentane
C 0002 Hydrogen
C 0003 Nitrogen
C 0004 Oxygen
D SAR011 ozone
D SAR012 super oxide
C 0005 Sulphur
D SAR013... (3 Replies)
Hello,
I'm trying to remove the duplicate consecutive lines with specific string "WARNING".
File.txt
abc;
WARNING 2345
WARNING 2345
WARNING 2345
WARNING 2345
WARNING 2345
bcd;
abc;
123
123
123
WARNING 1234
WARNING 2345
WARNING 2345
efgh; (6 Replies)
Discussion started by: Mannu2525
6 Replies
LEARN ABOUT DEBIAN
linphonec
linphonec(1) linphone, internet phone linphonec(1)NAME
linphonec - Console interface of linphone, a SIP compatible internet phone.
SYNTAX
linphonec [-d] <debug_level> [-l] <debug_file> [-c] <config_file>
linphonec -v
DESCRIPTION
Linphonec is the console version of originally Gnome internet phone linphone (http://www.linphone.org) .
Linphonec can be started without arguments. It doesn't need any config file to start correctly and will create a default one at the first
startup if the file does not exist. By default the path of the config file is ~/.linphonerc . Most parameters (proxy, passwords) can be
changed from the command line, for some of them (path of sound rings), you'll need to edit the .linphonerc config file.
Once linphonec has started, linphonec wait for some commands and is ready to receive calls.
The most important commands are
call <sip url> : to call someone. A sip url is in the form sip:user@host
terminate : to terminate a call
answer : to accept an incoming call.
help : to display interactive help.
OPTIONS
-d <debug_level>
Use debug mode with given verbosity (debug_level). The debug_level is an integer in the range 0..5 .
-h Output help information and exit.
-l <log_file>
Specifies a file where debug information will be written. Default is stdout.
-c <config_file>
Specifies the config file to read at startup.
FILES
~/.linphonec
ENVIRONMENT VARIABLES EXAMPLES AUTHORS
Florian Winterstein <fwin at gmx.de>
Simon Morlat <simon.morlat at linphone.org>
SEE ALSO linphone(1)sipomatic(1)Florian Winterstein & Simon MORLAT 1.0.0 linphonec(1)