06-19-2008
Print starting 3rd line until end of the file.
Hi,
I want to Print starting 3rd line until end of the file. Pls let me know the command.
Thanks in advance.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a ksh script I would like to modify.
What I need it to do is look at an ever changing log file and print the 3rd to last line. Is there a command that will display this? I can not use line numbers because the file is always growing.
Thanks for any help (2 Replies)
Discussion started by: NivekRaz
2 Replies
2. Shell Programming and Scripting
Hi Guys,
Can you help me with a sed or a csh script that will have an output from the input below. Cutting the columns starting from the end of the line and not from the start of the line?
Sample1 - The underscore character "_" is actually a space...i need to put it as underscore here coz... (2 Replies)
Discussion started by: elmer1503
2 Replies
3. Shell Programming and Scripting
Hi Folks,
I got to know from this forums on how to grep from a particular line say line 6
awk 'NR==6 {print;exit}'
But how do i grep from line 6 till the end of the file or command output.
Thanks, (3 Replies)
Discussion started by: Mr. Zer0
3 Replies
4. Shell Programming and Scripting
Hi,
I have a code tag, from which i have the below snippet:
intelrpt.GetCMB_FB type=ODBC>
intelrpt.GetCMB_FB type=SYBASE>
I want the output like:
intelrpt.GetCMB_FB
intelrpt.GetCMB_FB
That is remove the lines starting from WHITESPACE till end.
Please help. I am new to... (7 Replies)
Discussion started by: anupdas
7 Replies
5. Shell Programming and Scripting
I want to remove the trailing spaces at the end of each line starting from a particular position(using ksh script). For example, in the attached file, I want to remove all the spaces starting from the position 430 till the end. The space has to be removed only from the 430th position no matter in... (3 Replies)
Discussion started by: Suryaaravindh
3 Replies
6. Shell Programming and Scripting
I need help with extract/print lines till stop pattern. This needs to happen after every 3rd occurrence of start pattern and continue till end of file. Consider below is an example of the log file. my start pattern will be every 3rd occurrence of ERROR_FILE_NOT_FOUND and stop pattern will be... (5 Replies)
Discussion started by: NSS
5 Replies
7. Shell Programming and Scripting
Hello,
I'm works on Ubuntu server
My goal : I would like to read file line per line, but i want to started at the end of file.
Currently, I use instructions :
while read line;
do
COMMAND
done < /var/log/apache2/access.log
But, the first line, i don't want this. The file is long... (5 Replies)
Discussion started by: Fuziion
5 Replies
8. Emergency UNIX and Linux Support
Hello Friends,
Hope all are doing fine.
Here is a tricky issue.
my input file is like this
07 10 14 20 21
03 15 27 30 32
01 10 11 19 30
02 06 14 15 17
01 06 20 25 29
Logic:
1. Please print another column as "0-0-0-0-0" for the first and second rows.
2. Read the first column... (4 Replies)
Discussion started by: jacobs.smith
4 Replies
9. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
10. Shell Programming and Scripting
im trying to get
awk to print the string between 3rd and 4th backslashs to end of line
test could be any word
this
http://example.com/test/ >to this
http://example.com/test/ > testalso the other way round insert string at end of line... (13 Replies)
Discussion started by: bob123
13 Replies
SPELL(1) General Commands Manual SPELL(1)
NAME
spell - GNU spell, a Unix spell emulator
SYNOPSIS
spell [options] files ...
DESCRIPTION
This manual page documents briefly the spell command. This manual page was written for the Debian GNU/Linux distribution (but may be used
by others), because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below.
spell is a program that emulates the traditional Unix spell command by calling the Ispell utility.
It is a spell checking program which prints each misspelled word on a line of its own.
OPTIONS
The programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options are included
below. For a complete description, see the Info files.
-I, --ispell-version
Print Ispell's version.
-V, --version
Print the version number.
-b, --british
Use the British dictionary.
-d, --dictionary=FILE
Use FILE to look up words.
-h, --help
Print a summary of the options.
-i, --ispell=PROGRAM
Calls PROGRAM as Ispell.
-D, --ispell-dictionary=DICTIONARY
Use the named DICTIONARY to look up words.
-l, --all-chains
Ignored; for compatibility.
-n, --number
Print line numbers before lines.
-o, --print-file-name
Print file names before lines.
-s, --stop-list=FILE
Ignored; for compatibility.
-v, --verbose
Print words not literally found.
-x, --print-stems
Ignored; for compatibility.
SEE ALSO
The programs are documented fully by GNU Spell, a clone of Unix `spell', available via the Info system.
AUTHOR
This manual page was written by Dominik Kubla <dominik@debian.org>, for the Debian GNU/Linux system.
SPELL(1)