How about this one, no $arg needed:
which checks from line #1 till /Listen/ is encountered the first time. The trick is "reusing" the "previous regular expression" for the range end definition. /Listen/ will be evaluated for line 1, and can be reused from then on.
How can I insert, say lines 500 - 700 from another file into the current file on the current line (cursor) that I am editing while in vi (AIX).
I know how to insert the entire file but how do you do it when you only need certain lines from a huge file?
I've referenced my Unix Unleash book but... (2 Replies)
Hi folks,
i need to insert the same set of lines between each line
input lines
111111
aaaaaa
333333
output should be
111111
1
2
3
aaaaaa
1
2
3
333333
1 (2 Replies)
Hi,
I want to insert some lines in between the contents of a file but the file format should not be changed.
#!/usr/bin/sh -
# Link appropriate OS specific versions of vxicap and vxchk4badblks
vxlvmlink()
{
vxipath=/usr/lib/vxvm/bin
relmajor=`uname -v`
... (1 Reply)
Hello All,
I am new to this forum. I am currently facing a problem in manipulating files.
I have two files called old-matter and new-matter
# cat old-matter
abc: this, is a, sample, entry
byi: white board, is white in color
rtz: black, board is black
qty: i tried, a lot
asd: no... (1 Reply)
Hi,
I have one file, say file 1, that has data like below where 19900107 is the date,
19900107 12 144 129 0.7380047
19900108 12 168 129 0.3149017
19900109 12 192 129 3.2766666E-02
... (3 Replies)
Hi,
I copied the contents of a binary file into a .text file using hd (hexdump) command. The data in binary file is such that I get in many places like following
00000250 00 00 00 00 3f 2d 91 68 3f 69 fb e7 00 00 00 00 |....?-.h?i......|
00000260 00 00 00 00 00 00 00 00 00 00 00 00 00... (2 Replies)
Hello friends! I am working a Psychology/Neuro* project where I am sorting inline citations by category. The final step of the process has me a little stuck. I need to take citations from a text list and sort them in another text file.
Here is a file X example... (1 Reply)
Data file example
I look for primary and * to isolate the interesting slot number.
slot=`sed '/^primary$/,/\*/!d' filename | tail -1 | sed s'/*//' | awk '{print $1" "$2}'`
Now I want to get the Touch line for only the associate slot number, in this case, because the asterisk... (2 Replies)
Hello all,
I have a large csv file where there are four types of rows I need to merge into one row per person, where there is a column for each possible code / type of row, even if that code/row isn't there for that person.
In the csv, a person may be listed from one to four times... (9 Replies)
Hi, I need to print lines which are matching with start pattern "SELECT" and END PATTERN ";" and only select the last "select" statement including the ";" .
I have attached sample input file and the desired input should be as:
INPUT FORMAT:
SELECT
ABCD,
DEFGH,
DFGHJ,
JKLMN,
AXCVB,... (5 Replies)
Discussion started by: nani2019
5 Replies
LEARN ABOUT DEBIAN
roarplaylistd
rpld(1) System User's Manual: rpld rpld(1)NAME
rpld - RoarAudio PlayList Daemon
SYNOPSIS
rpld [OPTIONS]
DESCRIPTION
The RoarAudio PlayList Daemon is a daemon which manages playlists and can play files or streams from those lists using a RoarAudio Sound
Server.
MISC OPTIONS -h --help
Show a small help.
--daemon
Daemonize (go into background).
--server SERVER
Set default server to the RoarAudio server (e.g. roard) at SERVER.
--pidfile PIDFILE
Write a pidfile at PIDFILE.
--histsize NUM
Set size of the default history playlist to NUM entrys. This may be overwritten by restoring a store.
--plugin-load PLUGIN
Load plugin PLUGIN.
--plugin-args ARGS
Set the plugin arguments for the plugin loaded next to ARGS. This must always be used before --plugin-load.
SECURITY OPTIONS --user USER
Sets UID to USER.
--group GROUP
Sets GID to GROUP.
--allow-running-as-root
Allow to run as root. This is a bad thing to do. Do never set this option. This will open very bad security holes!
STORE OPTIONS --restore
Restore state from store.
--no-restore
Do not restore state from store.
--auto-restore
will restore old state if possible. This is a non-fatal version of --restore.
--store
Store state on exit.
--no-store
Do not store state on exit.
--store-path DIR
Location where to store/restore from/to.
PLAYBACK OPTIONS --play Start in playling state.
--stopped
Start in stopped state (default).
--role ROLE
Set role for streams (default: music).
--codec-helper-rate RATE
Set the sample rate the codec helper uses as it's output format.
--codec-helper-bits
Set the number of bits the codec helper uses as it's output format.
--codec-helper-channels
Set the number of channels the codec helper uses as it's output format.
--codec-helper-codec
Set the codec the codec helper uses as it's output format.
PLAYLIST OPTIONS --load-playlist PLAYLIST TYPE FILE
Load playlist PLAYLIST of type TYPE from file FILE. The playlist is created if it does not exist.
NETWORK OPTIONS --tcp Listen on TCP Socket.
--unix Listen on UNIX Socket.
--decnet
Listen on DECnet Socket.
--port PORT
Listen on port PORT. This is only useful for TCP listen sockets.
--bind ADDR
Listen on address ADDR.
--proto PROTO
Set protocol of listen socket.
--acclev LEV
Sets the accesslevel for this socket to LEV.
--new-sock
Opens an additional listen socket.
--slp Enable OpenSLP support.
--no-listen
Do not add a default listening socket. This option is in general not very useful for any user. It is only useful for specal tests
and with --client-fh.
--client-fh FH
Added a client at the given FH to rpld. This option is in general not very useful for any user.
--close-fh FH
This closes a given FH at startup time. This option is in general not very useful for any user.
CODEC OPTIONS --bl-codec CODEC
Use helper for codec CODEC.
SEE ALSO roartips(7), libroar(7), RoarAudio(7).
HISTORY
For history information see RoarAudio(7).
RoarAudio PlayList Daemon July 2010 rpld(1)