Hi Marco!

On So, 06 Sep 2015, Marco wrote:

> $cat watch_file.sh
> 
> FILE="$1"
> 
> TIME=$(ls --full-time $FILE | sed 's/\s\+/ /g' | cut -d ' ' -f 6,7,8)
> 
> while : ; do
...
>         sleep 1

I think, inotify would be prefered.

Best,
Christian
-- 
Freiheit nur für die Anhänger der Regierung, nur für die Mitglieder
einer Partei ist keine Freiheit.  Freiheit ist immer nur Freiheit des
anders Denkenden.
                -- Rosa Luxemburg

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to