Sponsored Content
Full Discussion: eof in data file
Top Forums Shell Programming and Scripting eof in data file Post 302413871 by itkamaraj on Sunday 18th of April 2010 01:32:43 AM
Old 04-18-2010
Code:
grep ^D
(type ctrl-V ctrl-D)

perl  -ne 'print if /\cD/'
perl  -ne 'print if m/004/'

https://www.unix.com/shell-programmin...ter-shell.html

Last edited by Scott; 04-18-2010 at 08:03 AM.. Reason: Code tags
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to check if the file DOES NOT have EOF

Hi, Please help me on this. how to check if the file DOES NOT have EOF ?? I am using ksh for this. (3 Replies)
Discussion started by: BasavarajaKC
3 Replies

2. Shell Programming and Scripting

"unexpected end of file" when Iīm use EOF inside block if

I have a trouble in my script when i use EOF inside block if. If i use EOF whitout block if I donīt have problem. Guys any ideas? Sorry for my terrible English. #!/bin/sh set -xv HOST='ftp.fiction.com.br' USER='fictionuser' PASS='fictionpass' FILE='ftpteste.txt' busca=`find... (4 Replies)
Discussion started by: ricardo.ludwig
4 Replies

3. Shell Programming and Scripting

confused with << EOF EOF

Hi friends , I am confused with << EOF EOF Most of the cases I found sqlplus $db_conn_str << EOF some sql staments EOF another exapmle is #!/bin/sh echo -n 'what is the value? ' read value sed 's/XXX/'$value'/' <<EOF The value is XXX EOF (1 Reply)
Discussion started by: imipsita.rath
1 Replies

4. Shell Programming and Scripting

remove last characters after %EOF (pdf binary file)

Hi, I want to know how I can remove the last characters of ANY pdf file. I read it under "od" in the command shell to see which were the last characters: $od corruptedfile.pdf -c When I see the file, I need to keep only the last characters, or "end of the file": %EOF (obviously keeping all... (1 Reply)
Discussion started by: diegugawa
1 Replies

5. UNIX for Advanced & Expert Users

Check EOF char in Unix. OR To check file has been received completely from a remote system

Advance Thanks. (1) I would like to know any unix/Linux command to check EOF char in a file. (2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Discussion started by: alexalex1
5 Replies

6. Red Hat

RAMDISK: EOF while reading compressed data ...Kernel panic - Unable to mount root

I was following this tutorial on How install the rpmfusion nvidia drivers in Fedora 13: F13, F12 & F11 Nvidia driver guides - FedoraForum.org Here's the tutorial: And this is what I did: First I executed the following commands: su rpm -Uvh ... (0 Replies)
Discussion started by: skyxn3t
0 Replies

7. Shell Programming and Scripting

EOF Usage - line 56: syntax error: unexpected end of file

Below is a test script I'm writing in the process of learning to write script. When I try to run it I get an unexpected end of file error on line 56. Thoughts? SCRIPT: #!/bin/bash # system_page - A script to produce a system information HTML file ##### Constants TITLE="My System... (1 Reply)
Discussion started by: mpercy725
1 Replies

8. UNIX for Dummies Questions & Answers

Match EOF on newline in a file

Hi, i have a file where the end-of-file might be at the end of of a valid text line or on a new line case a) p q r s t u <eof> case b) p q r s t u <eof> case c) p q r s t u <no data, only carriage return> <eof> I have a requirement where <eof> line should not be read if it's... (3 Replies)
Discussion started by: ysrini
3 Replies

9. Shell Programming and Scripting

EOF of file

Hi, I ve a file with name "check" in this file "check" has two lines with contents now how to read these files line by line.. i used the code But these doesnt stop with two lines.. So how to set condition that only two lines be read and the program should stop its execution.. Please... (5 Replies)
Discussion started by: Priya Amaresh
5 Replies

10. UNIX for Dummies Questions & Answers

Mapping a data in a file and delete line in source file if data does not exist.

Hi Guys, Please help me with my problem here: I have a source file: 1212 23232 343434 ASAS1 4 3212 23232 343434 ASAS2 4 3234 23232 343434 QWQW1 4 1134 23232 343434 QWQW2 4 3212 23232 343434 QWQW3 4 and a mapping... (4 Replies)
Discussion started by: kokoro
4 Replies
tvtime-scanner(1)					      General Commands Manual						 tvtime-scanner(1)

NAME
tvtime-scanner - an all-band scanner for tvtime to help users of European cable providers that do not use standard frequencies SYNOPSIS
tvtime-scanner [ OPTION ] ... DESCRIPTION
tvtime-scanner allows a user to scan all frequencies for stations. This is useful for European cable provides such as UPC or Casema which do not use standard frequency tables for their channels. tvtime-scanner checks for frequencies across the full band and writes it to your stationlist.xml file in a table called "Custom". This can be selected by running "tvtime --frequencies=custom" or by selecting the Custom frequency table within the OSD menu inside tvtime. OPTIONS
-h, --help Show usage information. -F, --configfile=FILE Additional config file to load settings from. -d, --device=NAME video4linux device to use (defaults to /dev/video0). -i, --input=INPUTNUM video4linux input number (defaults to 0). Cards commonly have a bunch of sources, for example, on my WinTV card, source 0 is my tuner and source 1 is the composite input. The scanner requires using an input that has a tuner. -n, --norm=NORM The mode to set the tuner to (defaults to NTSC). Valid modes are: o NTSC o PAL o SECAM o PAL-NC o PAL-M o PAL-N o NTSC-JP AUTHORS
Billy Biggs. SEE ALSO
tvtime(1), tvtime-configure(1), tvtime.xml(5), tvtime 1.0RC1 October 2004 tvtime-scanner(1)
All times are GMT -4. The time now is 06:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy