12-20-2011
Thank you again Jim for your support. I noticed the missing "e" in your original post and edited it but that didn't make a difference. :-)
Regarding your second command post, I can't post the output but I can see every new line is "\r\n".
BTW, I am not sure if I was that clear about the blank line aspect, I was hoping the grep command would grab the two lines and then insert a blank line for readability. I am not sure if that was what your suggestion of " -e '^$' " would do but regardless, I am at least getting the two lines which is helpful.
Thank you again for your support. It is appreciated.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file with 14million lines and I would like to extract all the unique lines from the file into another text file.
For example:
Contents of file1
happy
sad
smile
happy
funny
sad
I want to run a command against file one that only returns the unique lines (ie 1 line for happy... (3 Replies)
Discussion started by: soliberus
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I'm trying to remove multiple lines of text based off a series of different words and output it to a new file
The document contains a ton of data but i want to delete any line that has the following
mx1.rr.biz.com or ns2.ri.biz.com
i tried using grep -v filename "mx1.rr.biz.com" >... (3 Replies)
Discussion started by: spartan22
3 Replies
3. Shell Programming and Scripting
I am attempting to insert multiple lines of text into a specific place in a text file based on the lines above or below it.
For example, Here is a portion of a zone file.
IN NS ns1.domain.tld.
IN NS ns2.domain.tld.
IN ... (2 Replies)
Discussion started by: cdn_humbucker
2 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I need to extract lines between the lines 'RD' and 'QA' from a text file (following). there are more that one of such pattern in the file and I need to extract all of them. however, the number of lines between them is varied in the file. Therefore, I can not just use 'grep -A' command.... (6 Replies)
Discussion started by: johnshembb
6 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I want to create a file whose content is multiple lines of strings.
The string has the following pattern:
aaaa/bbbb/A-B.txt
A is a variable ranges from A1 to A2
B is a variable ranges from B1 to B2
Any ideas?
Thanks. (17 Replies)
Discussion started by: vic005
17 Replies
6. Shell Programming and Scripting
Hi All
I have text file like this:
a=21ej
c=3tiu32
e=hydkehw
f=hgdiuw
g=jhdkj
a=klkjhvl
b=dlkjhyfd
a=yo
c=8732
Any way I can process data from first a to just before of second a, and then second a to just before of 3rd one.
Just fetching records like that will help, I mean... (3 Replies)
Discussion started by: sandipjee
3 Replies
7. UNIX for Dummies Questions & Answers
I would like to use grep to select multiple lines from a text file using a single-column text file. Basically I want to only select lines from the first text file where the second column of the first text file matches the second text file. How do I go about doing that? Thanks! (5 Replies)
Discussion started by: evelibertine
5 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am trying to extract lines from a text file given a text file containing line numbers to be extracted from the first file. How do I go about doing this? Thanks! (1 Reply)
Discussion started by: evelibertine
1 Replies
9. Shell Programming and Scripting
Hello,
I have a file ff.txt that looks as follows
*ABNA.txt
356
24
36
112
*AC24.txt
457
458
321
2
ABNA.txt and AC24.txt are the files in the folder named foo1. Based on the numbers in the ff.txt file, I want to extract the lines from the corresponding files in the foo1 folder and... (2 Replies)
Discussion started by: mohamad
2 Replies
10. Shell Programming and Scripting
Hi
I have a text file named main.txt with 10,000 lines. I have another file with a list of line numbers (around 1000) of the lines to be deleted from main.txt file.
I tried with sed but it removes only a range of line numbers.
Thanks for any help!! (1 Reply)
Discussion started by: prvnrk
1 Replies
LEARN ABOUT DEBIAN
vdr-fbfe
vdr-fbfe(1) Remote Framebuffer frontend for vdr-plugin-xineliboutput vdr-fbfe(1)
NAME
vdr-fbfe - Remote Framebuffer frontend for vdr-plugin-xineliboutput
SYNOPSIS
vdr-fbfe [options] [xvdr[+udp|+tcp|+rtp]:[//host[:port]]]
DESCRIPTION
vdr-fbfe is a Framebuffer remote frontend, that plays back streams provided by vdr-plugin-xineliboutput.
OPTIONS
--help Show (this) help message
--audio=audiodriver[:device]
Select audio driver and optional port
--video=videodriver[:fb_device]
Select video driver and optional port As far as supported, possible video drivers might be: fb, DirectFB, sdl, vidixfb, dxr3, aadxr3
or none
--aspect=[auto|4:3|16:9|16:10|default]
Display aspect ratio (You can us a script to control the HW aspect ratio: --aspect=auto:path_to_script)
--fullscreen
Fullscreen mode
--hud Head Up Display OSD mode
--width=x
Video window width
--height=x
Video window height
--noscaling
Disable all video scaling
--post=name[:arg=val[,arg=val]]
Load and use xine post plugins, e.g.:
o --post=upmix
o --post=upmix;tvtime:enabled=1,cheap_mode=1)
--lirc[=devicename]
Use lirc input device Optional lirc socket name can be given
--verbose
Verbose debug output
--silent
Silent mode (report only errors)
--syslog
Write all output to system log
--nokbd
Disable keyboard input
--daemon
Run as daemon (disable keyboard, log to syslog and fork to background)
--slave
Enable slave mode (read commands from stdin)
--reconnect
Automatically reconnect when connection has been lost
--tcp, --udp, --rtp
Use TCP, UDP or RTP transport If no transport options are given, transports are tried in following order: local pipe, rtp, udp, tcp
EXAMPLES
Search for VDR (xineliboutput) server, connect to it and negotiate best available transport, use best available audio and video driver:
vdr-fbfe
Connect to 192.168.1.3 default port and negoate best available transport:
vdr-fbfe xvdr://192.168.1.3
Connect to 192.168.2.100, port 12550 and use TCP transport:
vdr-fbfe xvdr+tcp://192.168.2.100:12550
Automatically search for VDR server and use UDP transport:
vdr-fbfe xvdr+udp:
vdr-fbfe --udp
Use alsa:
vdr-fbfe --audio alsa
Use alsa (and specific card/sub-device):
vdr-fbfe --audio alsa:plughw:1,1
Framebuffer driver and device settings:
vdf-fbfe --video DirectFB
vdf-fbfe --video fb:/dev/fb/1
vdf-fbfe --video vidixfb
vdf-fbfe --video aadxr3
NOTE
If deinterlacing post plugin options are not given at command line, deinterlacing is controlled by VDR plugin configuration menu settings.
De-interlacing can also be forced on or off with command-line option "--post tvtime". Examples:
vdr-fbfe --post tvtime:method=Linear,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1
vdr-fbfe --post tvtime:enable=0
AUTHOR
This manual page was written by Tobias Grimm <etobi@debian.org>
10 June 2012 vdr-fbfe(1)