Please don't top post. On 09/26/2018 02:55 PM, Leo Nikolaev wrote:
I think it’s better to use something likels -R1F /tools/{bin,sbin,lib} > chapter5.files
The 1 is not needed when redirecting to a file. The F is good.
to have a list as one column with types, but there is still a need to check the target of a symlink.
That shouldn't be needed for a simple sanity check. Almost all the symlinks are to the same directory, so they will get picked up anyway.
For /tools, there is only 1 symlink in /tools/{bin,sbin,lib} not in the same directory:
/tools/lib/terminfo -> ../share/terminfo -- Bruce
It looks like only -l option gives this information, but it also shows the date and time of modification, which is not a subject to check. Looks like we have to play with `cut` also :)
-- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
