created a file with lines 1, 2, 3...0 called testtacfile.txt


------------------------------------------------
--> cat testtacfile.txt
1
2
3
4
5
6
7
8
9
0


--> tac testtacfile.txt 
0
9
8
7
6
5
4
3
2
1

------------------------------------------------
--> sed '1!G;h;$!d' testtacfile.txt 
0
9
8
7
6
5
4
3
2
1



a "tac" emulator: sed '1!G;h;$!d' filename # displays the file in reverse order starting at the bottom and working up one line at a time.
--> tac --help Usage: tac [OPTION]... [FILE]... Write each FILE to standard output, last line first. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory for short options too. -b, --before attach the separator before instead of after -r, --regex interpret the separator as a regular expression -s, --separator=STRING use STRING as the separator instead of newline --help display this help and exit --version output version information and exit Report tac bugs to bug-coreutils@gnu.org GNU coreutils home page: General help using GNU software: For complete documentation, run: info coreutils 'tac invocation'
--> cat --help Usage: cat [OPTION]... [FILE]... Concatenate FILE(s), or standard input, to standard output. -A, --show-all equivalent to -vET -b, --number-nonblank number nonempty output lines, overrides -n -e equivalent to -vE -E, --show-ends display $ at end of each line -n, --number number all output lines -s, --squeeze-blank suppress repeated empty output lines -t equivalent to -vT -T, --show-tabs display TAB characters as ^I -u (ignored) -v, --show-nonprinting use ^ and M- notation, except for LFD and TAB --help display this help and exit --version output version information and exit With no FILE, or when FILE is -, read standard input. Examples: cat f - g Output f's contents, then standard input, then g's contents. cat Copy standard input to standard output. Report cat bugs to bug-coreutils@gnu.org GNU coreutils home page: General help using GNU software: For complete documentation, run: info coreutils 'cat invocation'
--> sed --help Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]... -n, --quiet, --silent suppress automatic printing of pattern space -e script, --expression=script add the script to the commands to be executed -f script-file, --file=script-file add the contents of script-file to the commands to be executed --follow-symlinks follow symlinks when processing in place -i[SUFFIX], --in-place[=SUFFIX] edit files in place (makes backup if SUFFIX supplied) -l N, --line-length=N specify the desired line-wrap length for the `l' command --posix disable all GNU extensions. -r, --regexp-extended use extended regular expressions in the script. -s, --separate consider files as separate rather than as a single continuous long stream. -u, --unbuffered load minimal amounts of data from the input files and flush the output buffers more often -z, --null-data separate lines by NUL characters --help display this help and exit --version output version information and exit If no -e, --expression, -f, or --file option is given, then the first non-option argument is taken as the sed script to interpret. All remaining arguments are names of input files; if no input files are specified, then the standard input is read. GNU sed home page: . General help using GNU software: . E-mail bug reports to: . Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
SEARCH and Navigation TOOL
Google     select a domain to search or visit.
(use back key to return )

johnmeister.com/jeep/sj
JeepMeister
"Jeep is America's
only real sports car."
-Enzo Ferrari
JohnMeister.com LinuxMeister
MeisterTech FotoMeister.us
BibleTech the rest of the web

For the best synthetic lubricants, filters, and other
automotive products use the free AMSOIL product guide,
simply click and enter your year, make and model.
visit AMSOIL's site, or call 1-800-956-5695, please use customer #283461
shop amazon with these links, support this website... thanx! CAMERAS: Nikon Lumix Canon Digital SLRs Camera Lenses
Computers: Toshiba Panasonic Toughbook Apple Dell
Diesel Engines --- BioDiesel info
Grand Wagoneer parts Jeep J10 accessories Automotive Repair Books

books by john:
For the best synthetic lubricants, filters, and other
automotive products use the free AMSOIL product guide,
simply click and enter your year, make and model.
Buy AMSOIL at Northland Diesel in Bellingham, WA
assorted links
Everett weather -- traffic --- News -- Middle East
NASB/KJV-- South East Asian Missions -- BibleTech -- Voice of the Martyrs

SJ - 1962-1991

XJ - 1984-2001

WJ - 1999-2004

KJ - 2002-2007

WK - 2005-2010

Find the recommended
AMSOIL synthetics
for your Jeep

CJ-10A - 1984-1986

Jeepsters

MJ - 1984-1992

Willys - 1946-1965

Other Jeeps (FC-170)