strange, what does the proc, language ?
are you speaking about speed or trans quantity ?
by 2.nd loop, after 1 hour, are there enough
trans to process ?
don't forget, RTFMP :) guggach
are you posting a home-work ?
a excellent book:
The AWK Programming Language, Addison-Wesley Copyright 1988
by: Alfred V. Aho, Brian W. Kernigan, Peter J. Weinberger
don't forget, RTFMP :) guggach
you are confusing a lot of things
in the .profile|.kshrc|.login|.cshrc on the remote
sys you are evaluating the NOT defined variable $LOGIN
according to login-shell this variable is not
automatically set
rcp and all (bsd)r cmd are nothing else
as remote login followed by some exec, so they...
try ksh syntax
export ENV=$HOME/.kshrc
then you need to source it
. $HOME/.kshrc
or
. WHAT-EVER-YOU-WANT
have a look at this dot,
man sh ksh
don't forget, RTFMP :) guggach
you write:
if msg5 .....
elsif msg4 ....
...and so on
if msg5 is FOUND no other statement is executed
Q: does the presence of msg5 EXCLUDE msg4 ?
A: NO NO NO
rewrite you code (possibily in perl, or better)
something like, very abstract:
for(max = ?; max >0; --max){
if...
fabien:
root ONLY can read this file, because it's
absolute, ask for assistence by sys-admin, or
install an other sys, transfert the file,
become root perms...
please, for the future
NEVER do a tar/dump of absolute paths
you ALWAYS get problems
so: tar cfv /filename /xxx IS WRONG...
is this a unix-scripting forum?
why don't we write unix-scripts?
do-something >outp
do-something >>outp
1) open outp for write
2) reopen outp for append
(
do-something
do-something
) > outp
open O N C E output
don't forget, RTFMP :) guggach
in unix, because the antiques unix guy are still
using AND UNDERSTANDING the command line, a non
printable char like 'space,tab,newline,verticaltab...."
are command trailer.
modern DOSguys, buttons athletes, are not confronted with
this problem, because the button (offen) knows what's to
do...
hello
i am pretty sure, this is an undocumented feature of sol9
hp-code is not really elegant, but it runs
no probl with solaris < 9
so ?? i will install sol10
i am happy with my sys, (the good old) sunos4.3.1, sol7 and
sol9
btw: check permissions of / , should be 755 NOT 775
don't forget...
what are you doing?
EXCLUDES=`sed 's/,/\|\/sbin\/grep -v/g' $CONF`
i read:
substitute all ',' with: '|/sbin/grep -v' in '$CONF'
a) '|' does not need to be masked
b) '/sbin/grep' is very new to me
c) why not a little simpler ?
put your exclude (line by line) in $CONF, g.e.:
nodeA
nodeB
...
nodeX...
thedash
you are not alone
a lot of people do still NOT realize
head,sed,awk,grep ..... are able to open files
so (try it) ignore this stupid CAT
in your script:
MAX=`awk 'BEGIN{max=0} {{len=length($4)} if(len > max) max=len} END{print max}' infile`
cat infile | head -20 | sed 's! *! !g' |...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.