HN Simulatornew | past | comments | lists | submitlogin

> links to the source code but never actually says what it is.

The snippet of code makes it very clear what the difference is, no?

flag_copy_as_regular = 1 VS flag_copy_as_regular = 0, where regular would be a "regular" and not "special" file.



Only clear to those with a heavy UNIX background-- I understood and correctly interpreted it on first read, but the concept of a "regular file" is a bit in the wonk territory for most users, though the implication on symbolic links is a very practical one that surely lead to the removal (in the implementations where it was removed) of this option, since its very surprising that copying a directory heirarchy would cause symbolic links to become copies of what they linked to, instead of remaining symbolic links in the resulting directory.


I have no idea what that means, or what the consequences would be for choosing one or the other.


That’s for gnu implementation. For the BSD implementation author just links to the source code.


Nope. That variable name could mean anything


No, "special" and "regular" have very specific meaning when next to "file"


Nope.

My first thought was 'regular expression'. I've also never heard of the classification of a 'special' file in *nix land either (at least as utility flags go).




Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: