Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lptest(1b) [opensolaris man page]

lptest(1B)					     SunOS/BSD Compatibility Package Commands						lptest(1B)

NAME
lptest - generate line printer ripple pattern SYNOPSIS
/usr/ucb/lptest [length [count]] DESCRIPTION
The lptest utility writes the traditional ripple test pattern to the standard output. In 96 lines, the ripple test pattern prints all 96 printable ASCII characters in each position. The ripple test pattern was originally created to test printers. It is also useful for test- ing terminals, driving terminal ports, debugging, and performing tasks that require a quick supply of random data. This command is obsolete. OPTIONS
length Specifies the length of the output line in characters. 79 characters is the default. count Specifies the number of output lines. 200 lines is the default. If count is specified, length must also be specified. EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscplp | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) SunOS 5.11 9 Sep 1996 lptest(1B)

Check Out this Related Man Page

lptest(1B)					     SunOS/BSD Compatibility Package Commands						lptest(1B)

NAME
lptest - generate line printer ripple pattern SYNOPSIS
/usr/ucb/lptest [ length [count]] DESCRIPTION
The lptest utility writes the traditional ripple test pattern to the standard output. In 96 lines, the ripple test pattern prints all 96 printable ASCII characters in each position. The ripple test pattern was originally created to test printers. It is also useful for test- ing terminals, driving terminal ports, debugging, and performing tasks that require a quick supply of random data. This command is obsolete. OPTIONS
length Specifies the length of the output line in characters. 79 characters is the default. count Specifies the number of output lines. 200 lines is the default. If count is specified, length must also be specified. EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscplp | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) SunOS 5.10 9 Sep 1996 lptest(1B)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to count pattern in column

Hi, I have another problem here on Bash. Assume I have an output file containing two columns which the second one contains :- abc`dgdf`sdfdg` dfgfg```ssd` I would like to count the "`" characters for each line (which is first column). I am wondering what command can I used other than... (12 Replies)
Discussion started by: ahjiefreak
12 Replies

2. Shell Programming and Scripting

first occurence and line number

Hi, My objective is to get the line number of the first occurance of the search pattern. my test.txt contains: ..... .................. total rows.... ................... .. total rejected rows: 40 total rejected rows: 50 total rejected rows: 80 total rejected rows: 90 total... (9 Replies)
Discussion started by: mercuryshipzz
9 Replies

3. UNIX for Advanced & Expert Users

fast way to retreive a list of lines

hi there, i have to read lines from the file, where the line is just above the pattern am looking for typically this looks like this <time-stamp>|----- <pattern am searching >...... <time-stamp>|..... <some garbage > .... the log file is big wc -l ~/log/ompe.log.20081203... (8 Replies)
Discussion started by: kiranreddy1215
8 Replies

4. Shell Programming and Scripting

URGENT:- Data Scrubbing

Hi All, I have a Flatfile (any delimitation) of millions of lines of data, where in i have to scrubb the data of the line from the position ($1 ) given in input parameter until the length ($2) given in the input parameter. I utilised awk , sed but i am unable to do it. scrub key - 12345... (7 Replies)
Discussion started by: padhu.47
7 Replies

5. Shell Programming and Scripting

include NULLs in line length check

Hello, I am checking the length of each line of a fixed length file and making sure all lines are 161 length. My problem is that some files contain null characters which gets stripped out of my echo. How do I have the NULLs included in my check? (and I cannot replace or sub the NULL values with... (10 Replies)
Discussion started by: ironmix
10 Replies

6. Shell Programming and Scripting

how to get the no. of lines in a text file

Hi, I want to count the no. of lines in a text file and print only the count(without file name) in another file with the prefix 'Count:'. I'm able to count the no. of lines present in the file using wc -l <filename> but i have to subtract one from the count and print as i dont need to... (8 Replies)
Discussion started by: vimalr
8 Replies

7. Shell Programming and Scripting

delete rows between closest pattern or range

Hi I am having some problom deleting the lines between two specific lines in a file. need to delete lines between two closest lines. i.e need to find the closest range or pattern in a file with repeating patterns. Sample Input: WARNING <some text in n number of lines> ERROR:2597... (10 Replies)
Discussion started by: sudheer1984
10 Replies

8. Shell Programming and Scripting

How to replace pattern

Hello EveryOne, I have a file "test" with following entry. this is test prtestad yes this is test . Above i have colored pr and ad . Actually requirement is to replace all words starts with pr and ends with ad should be replaced by word prahlad . Means after changes... (9 Replies)
Discussion started by: shirsha
9 Replies

9. Shell Programming and Scripting

Concatenate lines between lines starting with a specific pattern

Hi, I have a file such as: --- >contig00001 length=35524 numreads=2944 gACGCCGCGCGCCGCGGCCAGGGCTGGCCCA CAGGCCGCGCGGCGTCGGCTGGCTGAG >contig00002 length=4242 numreads=43423 ATGCCGAAGGTCCGCCTGGGGCTGG CGCCGGGAGCATGTAGCG --- I would like to concatenate the lines not starting with ">"... (9 Replies)
Discussion started by: s052866
9 Replies

10. Shell Programming and Scripting

A way to delete specific lines

Hi all, I hope an expert tells me that there is a way to get ride of the certain lines in my files which have no specific string on them but fixed length. It's the original pattern:... (9 Replies)
Discussion started by: GoldenFire
9 Replies

11. Shell Programming and Scripting

Matching a pattern between two characters (sed)

Hi there, I have a file with lines like these: 0105:ffff0000:001b:01f4:25:434 0299:ffff0000:0009:01f4:2:319 02d2:ffff0000:000e:01f4:2:507 The above values are split up using ":" characters. I would like capture each value, no matter what length. Take for example the first line... (8 Replies)
Discussion started by: MastaG
8 Replies

12. Shell Programming and Scripting

Find the length of each line in the file

Hi, I want to find the length of each line(including all the characters, spaces etc.) in a file and check if all the lines are of same length using a ksh script. Please help. Thanks in advance. (7 Replies)
Discussion started by: Suryaaravindh
7 Replies

13. Shell Programming and Scripting

Unable to grep control/non printable characters

Unable to grep: Able to grep: (11 Replies)
Discussion started by: proactiveaditya
11 Replies

14. Shell Programming and Scripting

Want to Insert few lines which are stored in some file before a pattern in another file

Hello, I have few lines to be inserted in file_lines_to_insert. In another file final_file, I have to add lines from above file file_lines_to_insert before a particular pattern. e.g. $ cat file_lines_to_insert => contents are abc def lkj In another file final_file, before a... (6 Replies)
Discussion started by: nehashine
6 Replies

15. UNIX for Beginners Questions & Answers

Get an output of lines in pattern 1st line then 10th line then 11th line then 20th line and so on.

Input file: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 (6 Replies)
Discussion started by: Sagar Singh
6 Replies