Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: guggach
  • Order by date
  1. guggach

    Process becomes slower as it runs, why?

    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
  2. guggach

    sprintf to remove 0 right of decimal

    sed -e 's/0*[0]$//' awk & perl should be able to do it in very similar way don't forget, RTFMP :) guggach
  3. guggach

    Computing sums & formatting ...

    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
  4. guggach

    rcp error

    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...
  5. guggach

    Setting multiple ENV for Korn shell

    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
  6. guggach

    problem rotating a file!!

    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...
  7. guggach

    Two questions about tar command

    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...
  8. guggach

    removing files after running a find command

    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
  9. guggach

    Two questions about tar command

    1Q: this files are absolutely tared, so... man chroot 1Q: a good way don't forget, RTFMP :) guggach
  10. guggach

    Change kb to gb in script

    never heard about [bd]c ? try: echo "2^9999"|bc man bc, dc don't forget, RTFMP :) guggach
  11. guggach

    Find a deleted file?

    no laura unix suppose, you know what you are doing. a remove is a remove. welcome in club. don't forget, RTFMP :) guggach
  12. guggach

    Spaces Headache

    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...
  13. guggach

    C "tail" Functionality

    why rewrite 'tail' ? use it, it's better as any prog you will write. don't forget, RTFMP :) guggach
  14. guggach

    lottery sequences number generator

    i also don't know: the British Lotto, but look at faq205-5265 don't forget, RTFMP :) guggach
  15. guggach

    Only root can print

    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...
  16. guggach

    problems with substitution

    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...
  17. guggach

    Only root can print

    danke franz, das hilft sicher weiter. (warum, bin ich nicht auf die idee gekommen?) don't forget, RTFMP :) guggach
  18. guggach

    looping lines

    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' |...
  19. guggach

    Append the next line

    OK Maria I am more interested in a working solutions. don't forget, RTFMP :) guggach
  20. guggach

    exact system version and release?

    do you know 'uname' ? don't forget, RTFMP :) guggach

Part and Inventory Search

Back
Top