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: hendnov
  • Order by date
  1. hendnov

    Control -M, urgent explanation pls ...

    Thx SamBones, Have a star :)
  2. hendnov

    Control -M, urgent explanation pls ...

    lol, I know about that guys, are you guys sure he's not talking about some scripting or some unix language ? coz i thought it's something like scripting name, lol. So, it's definitely not scripting name or language name right ? Thx guys
  3. hendnov

    Control -M, urgent explanation pls ...

    Hi guys, Just wondering, I will have the interview about the unix job but the important knowledge about : "Control -m", awk and sed Do you guys have any idea about what he means by Control -M, it's the name of scripting or what ? Your soon answer will be much appreciated ...
  4. hendnov

    remove ??? in file, pls help ...

    Sorry guys, I respond a little bit late, yeah my server didn't have sed -i option :(( ? Thx
  5. hendnov

    remove ??? in file, pls help ...

    Hi Guys, Thx for the input, yeah p5wizard is right. I want to edit the file in place because this file is part of my application file. If I change it or copy it to another file first, I have to stop and restart the application. That's what I did in my staging server but in my production server...
  6. hendnov

    Explanation from Perl Expert pls ....

    Hi guys, I've got the perl code, here it is : find . | perl –ne‘chomp();rename($_,lc($_))’ I know this code is for rename all the file to lower case recursively but could you guys explain exactly what chomp for ? and "$_" means ?? Thx guys
  7. hendnov

    remove ??? in file, pls help ...

    Hi PHV, Thanks for your reply, but It didnt change anything yet :( Here's what happened adoc syducmp02 ~> echo ",s/???//g\nw\nq" | ed -s test ? adoc syducmp02 ~> and I checked test file, it doesn't change anything.
  8. hendnov

    remove ??? in file, pls help ...

    Hi guys, just wondering about simple question. I want to remove ??? in some of files. what I did is : cp awi.xml awi.xml_tmp cat awi.xml_tmp | sed s/???// > awi.xml Is there any way to make it one way without copying to awi.xml_tmp first ? coz I tried : cat awi.xml | sed s/???// >...
  9. hendnov

    Minimise my script pls, help...

    Thx Salem, you're the man, have a star :D
  10. hendnov

    to get pwd value

    THX GUYS,
  11. hendnov

    Minimise my script pls, help...

    Here's the error command : awk: syntax error near line 1 awk: bailing out near line 1 I'll try using nawk.
  12. hendnov

    to get pwd value

    Hi guys, Here's part of my code which called summary.ksh : if [$1 == "\."] then input = pwd echo "input =" $input fi I want to have the full path directory if the input is "." so if I'm at the directory /opt/adoc when I execute the script, I want the $input = /path/of/directory, the...
  13. hendnov

    Minimise my script pls, help...

    Hi Salem... du -sk */* | awk -v scale=$thisScale '{ ... this line is not working... Could you pls give me the answer ? THX
  14. hendnov

    Regular expression in unix, help pls...

    Hi guys, Just wondering about the regex of my if condition... in $1 is = /input_data/boeing/747 but why my script doesnt match, is there something wrong with my regex (*boeing*) ? #!/bin/ksh if [ "$1" = *boeing* ] then echo "this is boeing data" else echo "no way"
  15. hendnov

    how to remove path that used to be created.. help pls

    Hi guys, Can you help me to remove the path that I used to create ? I used to create path by using this command : PATH=$PATH:/opt/java export PATH and now that directory has been deleted. If I check echo $PATH, the path is still there. Do you guys have any idea how to remove the one path...
  16. hendnov

    Change the directory name from lower case to upper case, pls help...

    I did PHV, but without SH at the back, coz it generated error. and they print out all the command such as : mv test TEST mv Makanan MAKANAN I'm happy about the result and I want to execute it now ?? how ??
  17. hendnov

    Change the directory name from lower case to upper case, pls help...

    Hi guys, Thx for your input, but your command is just print out. And I'm quite happy about it. Just wondering how if I want to execute it. THX guys,
  18. hendnov

    Change the directory name from lower case to upper case, pls help...

    Thx guys, I'll try tomorrow morning... Appreciate that
  19. hendnov

    Change the directory name from lower case to upper case, pls help...

    Hi guys, I've got real problem. which is all my data which is (file and directory name) in all lower case but I need them in upper case. So do you guys have any idea to make script to shift the file and directory name from lower case to upper case pls ?? Much appreaciated guys
  20. hendnov

    Minimise my script pls, help...

    Hi guys, Do you have any idea how to minimise my script : #!/bin/ksh if [ "$#" != "2" ] then echo "usage : sumdisc [data from which vendor "airbus" or "boeing"] [path directory]" exit 1 fi if [$1 = "airbus"] then cd $2 du -sk */* | awk '{ if ($2 ~ /SGML/){ sum +=...

Part and Inventory Search

Back
Top