PATH:
etc
/
alternatives
#!/bin/sh # Copyright (C) 2001, 2002, 2007 Free Software Foundation # Copyright (C) 1992, 1993 Jean-loup Gailly # Modified for XZ Utils by Andrew Dudman and Lasse Collin. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. #SET_PATH - This line is a placeholder to ease patching this script. # Instead of unsetting XZ_OPT, just make sure that xz will use file format # autodetection. This way memory usage limit and thread limit can be # specified via XZ_OPT. xz='xz --format=auto' version='xzmore (XZ Utils) 5.2.4' usage="Usage: ${0##*/} [OPTION]... [FILE]... Like 'more', but operate on the uncompressed contents of xz compressed FILEs. Report bugs to <lasse.collin@tukaani.org>." case $1 in --help) echo "$usage" || exit 2; exit;; --version) echo "$version" || exit 2; exit;; esac oldtty=`stty -g 2>/dev/null` if stty -cbreak 2>/dev/null; then cb='cbreak'; ncb='-cbreak' else # 'stty min 1' resets eof to ^a on both SunOS and SysV! cb='min 1 -icanon'; ncb='icanon eof ^d' fi if test $? -eq 0 && test -n "$oldtty"; then trap 'stty $oldtty 2>/dev/null; exit' 0 2 3 5 10 13 15 else trap 'stty $ncb echo 2>/dev/null; exit' 0 2 3 5 10 13 15 fi if test $# = 0; then if test -t 0; then echo "$usage"; exit 1 else $xz -cdfq | eval "${PAGER:-more}" fi else FIRST=1 for FILE; do < "$FILE" || continue if test $FIRST -eq 0; then printf "%s--More--(Next file: %s)" "" "$FILE" stty $cb -echo 2>/dev/null ANS=`dd bs=1 count=1 2>/dev/null` stty $ncb echo 2>/dev/null echo " " case "$ANS" in [eq]) exit;; esac fi if test "$ANS" != 's'; then echo "------> $FILE <------" $xz -cdfq -- "$FILE" | eval "${PAGER:-more}" fi if test -t 1; then FIRST=0 fi done fi
[-] ex.de.1.gz
[edit]
[-] pftp.1.gz
[edit]
[-] view.da.1.gz
[edit]
[-] iptables.service
[edit]
[-] arptables
[edit]
[-] lua-compiler-manual
[edit]
[-] lua-interpreter
[edit]
[-] view
[edit]
[-] view.pl.1.gz
[edit]
[-] vimdiff
[edit]
[-] c++.1.gz
[edit]
[-] c++
[edit]
[-] ex.ru.1.gz
[edit]
[-] lzcmp
[edit]
[-] lzmore
[edit]
[-] pftp
[edit]
[-] ftp
[edit]
[-] awk.1.gz
[edit]
[-] rsh
[edit]
[-] lzcmp.1.gz
[edit]
[-] vi.ja.1.gz
[edit]
[-] netcat.1.gz
[edit]
[-] nawk
[edit]
[-] fakeroot
[edit]
[-] ex.da.1.gz
[edit]
[+]
mecab-dictionary
[-] cpp
[edit]
[-] view.ja.1.gz
[edit]
[-] ex.pl.1.gz
[edit]
[-] netrc.5.gz
[edit]
[-] vi.it.1.gz
[edit]
[-] cc
[edit]
[-] fakeroot.sv.1.gz
[edit]
[-] x-cursor-theme
[edit]
[-] iptables-save
[edit]
[-] lzfgrep.1.gz
[edit]
[-] ex.ja.1.gz
[edit]
[-] faked.1.gz
[edit]
[-] traceroute6
[edit]
[-] pinentry.1.gz
[edit]
[-] faked.es.1.gz
[edit]
[-] c99
[edit]
[-] vi.pl.1.gz
[edit]
[-] ex.fr.1.gz
[edit]
[-] view.fr.1.gz
[edit]
[-] sar
[edit]
[-] jsondiff
[edit]
[-] unlzma
[edit]
[-] fakeroot.1.gz
[edit]
[-] lzdiff.1.gz
[edit]
[-] w.1.gz
[edit]
[-] pinentry
[edit]
[-] view.it.1.gz
[edit]
[-] sar.1.gz
[edit]
[-] pager
[edit]
[-] awk
[edit]
[-] README
[edit]
[-] c89
[edit]
[-] ip6tables.service
[edit]
[-] rcp.1.gz
[edit]
[-] my.cnf
[edit]
[-] lzless
[edit]
[-] lzmore.1.gz
[edit]
[-] vi
[edit]
[-] automake
[edit]
[-] mt
[edit]
[-] text.plymouth
[edit]
[-] arptables-restore
[edit]
[-] pico.1.gz
[edit]
[-] ex.1.gz
[edit]
[-] lzcat.1.gz
[edit]
[-] ebtables
[edit]
[-] from.1.gz
[edit]
[-] cc.1.gz
[edit]
[-] from
[edit]
[-] vtrgb
[edit]
[-] lzdiff
[edit]
[-] lua-manual
[edit]
[-] ebtables-restore
[edit]
[-] automake.1.gz
[edit]
[-] infobrowser
[edit]
[-] write.1.gz
[edit]
[-] cli.1.gz
[edit]
[-] rmt
[edit]
[-] faked.fr.1.gz
[edit]
[-] rlogin.1.gz
[edit]
[-] nawk.1.gz
[edit]
[-] telnet.1.gz
[edit]
[-] view.de.1.gz
[edit]
[-] cli
[edit]
[-] lzless.1.gz
[edit]
[-] c89.1.gz
[edit]
[-] builtins.7.gz
[edit]
[-] cli-gacutil.1.gz
[edit]
[-] vim
[edit]
[-] ip6tables-save
[edit]
[-] rlogin
[edit]
[-] rcp
[edit]
[-] vi.fr.1.gz
[edit]
[-] global-assembly-cache-tool
[edit]
[-] rvim
[edit]
[+]
..
[-] lzgrep
[edit]
[-] nc.1.gz
[edit]
[-] ex
[edit]
[-] telnet
[edit]
[-] rview
[edit]
[-] vi.de.1.gz
[edit]
[-] lzma
[edit]
[-] traceroute6.8.gz
[edit]
[-] lzgrep.1.gz
[edit]
[-] nc
[edit]
[-] write
[edit]
[-] www-browser.1.gz
[edit]
[-] aclocal.1.gz
[edit]
[-] iptables-restore
[edit]
[-] mt.1.gz
[edit]
[-] fakeroot.es.1.gz
[edit]
[-] vi.ru.1.gz
[edit]
[-] iptables
[edit]
[-] lzegrep
[edit]
[-] lua-compiler
[edit]
[-] lzegrep.1.gz
[edit]
[-] ebtables-save
[edit]
[-] lzfgrep
[edit]
[-] view.1.gz
[edit]
[-] lzma.1.gz
[edit]
[-] ip6tables
[edit]
[-] fakeroot.fr.1.gz
[edit]
[-] ex.it.1.gz
[edit]
[-] c99.1.gz
[edit]
[-] rmt.8.gz
[edit]
[-] vi.da.1.gz
[edit]
[-] infobrowser.1.gz
[edit]
[-] newt-palette
[edit]
[-] netcat
[edit]
[-] aclocal
[edit]
[-] pico
[edit]
[-] view.ru.1.gz
[edit]
[-] editor
[edit]
[-] arptables-save
[edit]
[-] pager.1.gz
[edit]
[-] ip6tables-restore
[edit]
[-] editor.1.gz
[edit]
[-] w
[edit]
[-] vi.1.gz
[edit]
[-] unlzma.1.gz
[edit]
[-] www-browser
[edit]
[-] lzcat
[edit]
[-] ftp.1.gz
[edit]
[-] rsh.1.gz
[edit]
[-] faked.sv.1.gz
[edit]