projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af6c2fd
)
ttsnoop: use tail arg -f rather than +0f
author
Jon Trulson
<jon@radscan.com>
Fri, 29 Jun 2018 20:37:48 +0000
(14:37 -0600)
committer
Jon Trulson
<jon@radscan.com>
Fri, 29 Jun 2018 20:37:48 +0000
(14:37 -0600)
I cannot even find out what "+0f" is supposed to do (google fail), but
this seems a reasonable alternative that should work everywhere.
cde/programs/ttsnoop/ttsnoop.C.src
patch
|
blob
|
history
diff --git
a/cde/programs/ttsnoop/ttsnoop.C.src
b/cde/programs/ttsnoop/ttsnoop.C.src
index 4e51f528c648d92d14d3ea913e44c11853cdeef2..5deb6fd8f81da7196c1c32d80a3a4388d2e399b7 100644
(file)
--- a/
cde/programs/ttsnoop/ttsnoop.C.src
+++ b/
cde/programs/ttsnoop/ttsnoop.C.src
@@
-517,7
+517,7
@@
main(int argc, char **argv)
}
}
apiTracerArgv[ 0 ] = "tail";
- apiTracerArgv[ 1 ] = "
+0
f";
+ apiTracerArgv[ 1 ] = "
-
f";
apiTracerArgv[ 2 ] = traceFile;
if (snoopFile == 0) {
//
@@
-530,7
+530,7
@@
main(int argc, char **argv)
}
}
snooperArgv[ 0 ] = "tail";
- snooperArgv[ 1 ] = "
+0
f";
+ snooperArgv[ 1 ] = "
-
f";
snooperArgv[ 2 ] = snoopFile;
if (optind < argc) {