5 seconds to update link info?

L A Walsh cygwin@tlinx.org
Sat May 20 20:00:00 GMT 2017


Andrey Repin wrote:
> Greetings, All!
>
> _a=fileA;
> _b=fileB;
> [ ! -f "$_a" ] && touch "$_a";
> [ ! -f "$_b" ] && ln "$_a" "$_b";
> for i in $(seq 1 10);
> do sleep 1;
> [ "$_a" -ef "$_b" ] && { echo Timed in $i; break;}; done;
> rm "$_a" "$_b"
>
> When executed this oneliner over Samba 4.3 network share,
----
    What oneliner?



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list