This script handles one of your files. You may change the rows to print out. (here: 2 and 5 -> RTP="2 5")
I assume that the number of rows is usually six and only row 5 can be empty. If not we need to enhance the case-structure.
You need to run the script with the filename as first parameter:
Hi Experts,
I need to extract some set of strings one be one using delimiter.
Example:
shellscript.sh|unix.sh|script_file.sh
i need to extract this shellscript.sh,unix.sh,script_file.sh
separately.
I tried but couldn't get. Please help me..
Thanks & Regards :),
Kanda (3 Replies)
The typical line of the input file is as follows,
123|abcde|"xyz|mn"|ghelosa|3455hello|
The delimiter is |. I need to change it to another delimiter, say ~. For the above line, the output should be:
123~abcde~xyz|mn~ghelosa~3455hello~
The challenge is when | appears in a field, it... (2 Replies)
I am trying to extract 'postmaster' from the following string:
PenaltyError:=554 5.7.1 Error, send your mail to postmaster@LOCALDOMAIN
using the following command:
cat /usr/share/assp/assp.cfg | grep ^PenaltyError:= | cut -d '@' -f1 | cut -f8
but it returns:
PenaltyError:=554 5.7.1 Error,... (10 Replies)
Hello,
Is there a direct command to check if the delimiter in your file is a tab or a space? And how can they be converted from one to another.
Thanks,
G (4 Replies)
I have a file with three fields and field delimiter '|' like:
abc|12:13:45|123
xyz|12:87:32|
qwe|54:21:09
In the file the 1st line has proper data -> abc|12:13:45|123
,the 2nd line doesnt has data for the 3rd field which is okay
, the 3rd line doesnt has data for the 3rd field as well the... (5 Replies)
I had an immediate work to sort out the error code and error message which are associated within the log. But here im facing an problem to extract 3 different fields from the XML log can some one please help. I tried using different script including awk & nawk, but not getting the desired output.
... (18 Replies)
not sure if i'm doing this right i'm new tho this but i'm trying to use a space as a delimiter with the cut command
my code is
size=$( du -k -S -s /home/cmik | cut -d' ' -f1 )
i've also tried -f2 and switching the -d and -f around if that does anything (3 Replies)
We have a csv file as mentioned below and the requirement is to change the date format in file as mentioned below.
Current file (file.csv)
----------------------
empname,date_of_join,dept,date_of_resignation
ram,08/09/2015,sales,21/06/2016
"akash,sahu",08/10/2015,IT,21/07/2016
... (6 Replies)
Discussion started by: gopal.biswal
6 Replies
LEARN ABOUT DEBIAN
desaggregartp
Desaggregartp(1) General Commands Manual Desaggregartp(1)NAME
desaggregartp - Reorders incoming packets and reconstitutes the original RTP stream.
SYNOPSIS
desaggregartp [-i <RT priority>] [-t <ttl>] [-b <buffer length>] [-U] [-m <mtu>] <src host 1> ... [<src host N>] <dest host>
DESCRIPTION
Desaggregartp is the companion software of aggregartp. It rorders incoming packets and reconstitutes the original RTP stream.
ITEMS
Host format [<connect addr>[:<connect port>]][@[<bind addr][:<bind port>]]
OPTIONS -b <buffer length> buffer length in ms
-h Show summary of options
-i <RT priority>
Real time priority
-m <mtu>
Specify the MTU
-t <ttl>
TTL of the packets send by aggregartp
-U Strip RTP header
SEE ALSO aggregartp(1). ingests(1). multicat(1), offsets(1).
Read the README file for more information about the configuration of desaggregartp.
AUTHOR
desaggregartp was written by Christophe Massiot.
LICENCE
This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
This manual page was written by Remi Duraffort <ivoire at videolan dot org>, for the Debian project (and may be used by others).
Multicat 1.0 August 23, 2010 Desaggregartp(1)