09-13-2010
sorry ya it is just printing from line 6 onwards.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to Print starting 3rd line until end of the file. Pls let me know the command.
Thanks in advance. (1 Reply)
Discussion started by: smc3
1 Replies
2. Shell Programming and Scripting
Hi,
I need help with using an awk or sed filter on the below line
ALTER TABLE "ACCOUNT" ADD CONSTRAINT "ACCOUNT_PK" PRIMARY KEY ("ACCT_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "WMC_DATA" LOGGING ENABLE
Look for... (2 Replies)
Discussion started by: rajan_san
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
I need help with using an awk or sed filter on the below line
ALTER TABLE "ACCOUNT" ADD CONSTRAINT "ACCOUNT_PK" PRIMARY KEY ("ACCT_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "WMC_DATA" LOGGING ENABLE
Look for... (1 Reply)
Discussion started by: rajan_san
1 Replies
4. Shell Programming and Scripting
Hi,
Having a following file's content, lets say:
ABC|ANA|LDJ|||||DKD||||||
AJJ|KKDD||KKDK||||||||||||
KKD||KD|||LLLD||||LLD|||||
Problem:
Need to replace pipes from 8th occurrence of pipe till end.
so the result should be:
ABC|ANA|LDJ|||||DKD
AJJ|KKDD||KKDK||||
-------
-------
... (12 Replies)
Discussion started by: _Noprofi
12 Replies
5. 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
6. Shell Programming and Scripting
Hi
I have a 57 line text file and I want to cut first 6 line assigned it to a veriable and again cut next 6 line assigned to same variable till the time file have left 0 line.
Please let me know how I can do in scripting.
Thanks
Sanjay (6 Replies)
Discussion started by: Sanjay2121
6 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. 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
9. UNIX for Beginners Questions & Answers
I have a file with a list of references towards the end and want to apply a grep for some string.
text ....
@unnumbered References
@sp 1
@paragraphindent 0
2017. @strong{Chalenski, D.A.}; Wang, K.; Tatanova, Maria; Lopez,
Jorge L.; Hatchell, P.; Dutta, P.; @strong{Small airgun... (1 Reply)
Discussion started by: kristinu
1 Replies
10. Shell Programming and Scripting
I have a log file which have a date and time at the start of every line.
I need to search the log file starting from a specific time to the end of file.
For example:
Starting point: July 29 2018 21:00:00
End point : end of file
My concern is what if the pattern of `July 29 2018 21:00:00`... (3 Replies)
Discussion started by: erin00
3 Replies
hp(1) General Commands Manual hp(1)
NAME
hp - handle special functions of HP2640 and HP2621-series terminals
SYNOPSIS
DESCRIPTION
supports special functions of the Hewlett-Packard HP 2640 and HP 2621 series of terminals, with the primary purpose of producing accurate
representations of most output. A typical use is:
Regardless of the hardware options on a given terminal, tries to do sensible things with underlining and reverse line-feeds. If the termi-
nal has the ``display enhancements'' feature, subscripts and superscripts can be indicated in distinct ways. If it has the ``mathematical-
symbol'' feature, Greek and other special characters can be displayed.
Options
recognizes the following options:
Specify that your terminal has the ``display enhancements'' feature,
to make maximal use of the added display modes. Overstruck characters are presented in the Underline mode. Superscripts
are shown in Half-bright mode, and subscripts in Half-bright, Underlined mode. If this flag is omitted, assumes that your
terminal lacks the ``display enhancements'' feature. In this case, all overstruck characters, subscripts, and super-
scripts are displayed in Inverse Video mode; that is, dark-on-light, rather than light-on-dark.
Request minimization of output by removing new-lines.
Any contiguous sequence of 3 or more new-lines is converted into a sequence of only 2 new-lines; that is, any number of
successive blank lines produces only a single blank output line. This allows you to retain more actual text on the
screen.
DIAGNOSTICS
The representation of a line exceeds 1,024 characters.
RETURN VALUE
returns zero for normal termination, and 2 for all errors.
WARNINGS
An ``overstriking sequence'' is defined as a printing character followed by a backspace followed by another printing character. In such
sequences, if either printing character is an underscore, the other printing character is shown underlined or in Inverse Video; otherwise,
only the first printing character is shown (again, underlined or in Inverse Video). Nothing special is done if a backspace is adjacent to
an ASCII control character. Sequences of control characters (e.g., reverse line-feeds, backspaces) can make text ``disappear''; in partic-
ular, tables generated by that contain vertical lines will often be missing the lines of text that contain the ``foot'' of a vertical line,
unless the input to is piped through (see col(1)).
Although some terminals do support numerical superscript characters, no attempt is made to display them.
SEE ALSO
col(1), neqn(1), nroff(1), tbl(1).
hp(1)