Just want to elaborate on what I meant by 'error trapping' link-info.
[ link-info dup symbolic-link? [ drop ] [ size>> + ]
In python's syntax, I would write the above quot as something like:
try:
file_info = link_info(dir_entry)
if not is_symbolic_link(file_info):
total_size +=
The equivalent would be:
[
link-info dup symbolic-link?
[ drop ] [ size>> + ] if
] [ drop ] recover
On Thu, Oct 1, 2015 at 6:54 AM, HP wei wrote:
> Just want to elaborate on what I meant by 'error trapping' link-info.
>
> [ link-info dup symbolic-link? [ drop ] [ size>> + ]
>
> In pytho