Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lptest(1) [debian man page]

LPTEST(1)						    BSD General Commands Manual 						 LPTEST(1)

NAME
lptest -- generate lineprinter ripple pattern SYNOPSIS
lptest [length] [count] DESCRIPTION
lptest writes the traditional ``ripple test'' pattern on standard output. In 96 lines, this pattern will print all 96 printable ASCII char- acters in each position. While originally created to test printers, it is quite useful for testing terminals, driving terminal ports for debugging purposes, or any other task where a quick supply of random data is needed. The length argument specifies the output line length if the default length of 79 is inappropriate. The count argument specifies the number of output lines to be generated if the default count of 200 is inappropriate. Note that if count is to be specified, length must also be specified. HISTORY
lptest appeared in 4.3BSD. BSD
May 31, 2007 BSD

Check Out this Related Man Page

SPLIT(1)						    BSD General Commands Manual 						  SPLIT(1)

NAME
split -- split a file into pieces SYNOPSIS
split [-a suffix_length] [-b byte_count[k|m]] [-l line_count] [-p pattern] [file [name]] DESCRIPTION
The split utility reads the given file and breaks it up into files of 1000 lines each. If file is a single dash ('-') or absent, split reads from the standard input. The options are as follows: -a Use suffix_length letters to form the suffix of the file name. -b Create smaller files byte_count bytes in length. If ``k'' is appended to the number, the file is split into byte_count kilobyte pieces. If ``m'' is appended to the number, the file is split into byte_count megabyte pieces. -l Create smaller files n lines in length. -p pattern The file is split whenever an input line matches pattern, which is interpreted as an extended regular expression. The matching line will be the first line of the next output file. This option is incompatible with the -b and -l options. If additional arguments are specified, the first is used as the name of the input file which is to be split. If a second additional argument is specified, it is used as a prefix for the names of the files into which the file is split. In this case, each file into which the file is split is named by the prefix followed by a lexically ordered suffix using suffix_length characters in the range ``a-z''. If -a is not speci- fied, two letters are used as the suffix. If the name argument is not specified, the file is split into lexically ordered files named with prefixes in the range of ``x-z'' and with suffixes as above. SEE ALSO
csplit(1), re_format(7) STANDARDS
The split utility conforms to IEEE Std 1003.1-2001 (``POSIX.1''). HISTORY
A split command appeared in Version 3 AT&T UNIX. BUGS
For historical reasons, if you specify name, split can only create 676 separate files. The default naming convention allows 2028 separate files. The -a option can be used to work around this limitation. The maximum line length for matching patterns is 65536. BSD
April 16, 1994 BSD
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tn5250 project

Goodmorning all, as in subject: i'm involved in a project to replace old os400 terminals on twinax with linux/unix computers that run the tn5250 emulator. at first we got an image of a german configured suse linux that as it runs in germany but we had more problems reconfiguring the suse then... (2 Replies)
Discussion started by: termiEEE
2 Replies

2. AIX

Updating a File in a Zip Archive

Hello everyone, I have a script that pulls a text file out of a zip archive and updates the file. What I need to do is put it back in the zip archive and replace the old one, but I am having no luck. Everything I search on forums or internet points to the command zip, that command is not... (6 Replies)
Discussion started by: dbridle
6 Replies

3. UNIX for Dummies Questions & Answers

Local Printer Setup - HP DeskJet 610CL

Hello. I am really new to Unix and am trying to set up a local printer on a FreeBSD 6.2 machine. I was able to get some kind of garbage by going lptest > /dev/lpt0, but after I set up the spooler I get nothing but page after page of nothing. I checked the kernel configuration and it had the correct... (1 Reply)
Discussion started by: elliott_1951
1 Replies

4. AIX

Printer stopped working

I have a serial printer connected to a 16 port ran. All of a sudden my printer stopped working and not sure how to get it back. Can anyone help pint me in the write direction? lsdev -Cc printer gives me the following. lp0 Defined 0A-08-11-00 Other serial printer lp1 Defined 0A-08-11-03... (3 Replies)
Discussion started by: Gmanx
3 Replies