On 09.12.12 08:34, Mark Wendt wrote:
> On Sun, Dec 9, 2012 at 8:17 AM, Erik Christiansen wrote:
> >
> > # echo .so man1/gawk.1.gz > /usr/share/man/man1/fred.1
...
> To save space on the system and not duplicate files, perhaps it would
> be easier to:
> 
> ln -s man1/gawk /usr/share/man/man1/fred.1

One out of 3, I suspect, if it is assumed to be easier. :-)

Neither method duplicates files, so there is no saving to be had there.
And the symbolic link creates a _larger_ file than the groff redirection
(.so):

$ ln -s /usr/share/man/man1/gawk.1.gz ~/fred
 
$ ls -l ~/fred
lrwxrwxrwx 1 erik erik 29 2012-12-10 00:44 /home/erik/fred \
                              -> /usr/share/man/man1/gawk.1.gz

$ ll /usr/share/man/man1/fred.1
-rw-r--r-- 1 root root 19 2012-12-09 23:54 /usr/share/man/man1/fred.1

The symlink is about 50% larger, so we're going backwards fast with this
"saving". ;-)

Erik

-- 
At the moment Greenland is rising in some places by three centimeters per year,
but the speed is accelerating. If the whole icelayer disappears, Greenland will
rise by about one kilometer.
- My translation of a paragraph in 
http://jyllands-posten.dk/nyviden/article4775333.ece
Noticed a few earthquakes in recent years?


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to