hledam trivialni utilitku

Jan Kasprzak kas na informatics.muni.cz
Pondělí Říjen 18 14:04:10 CEST 1999


Egon Eckert wrote:
: potreboval bych programek, ktery 'resolvuje' symlinky, tedy neco, co mi
: na
: 
: /usr/X11/bin/xview
: 
: odpovi
: 
: /usr/X11R6/bin/xloadimage

	Ja jsem na svem RH nasel program readlink(1) a dost me to prekvapilo.
RPM mi tvrdi, ze patri k tetexu.

	Pomoci Titanicu lze nasimulovat takto:

perl -e 'print readlink $ARGV[0], "\n"' <jmeno_souboru>

-Yenya

-- 
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
///    While Linux is larger than Emacs, at least Linux has the excuse   \\\
//     that it needs to be.                           --Linus Torvalds    \\


Další informace o konferenci Linux