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 SkipVought 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: *

  1. unixwhoopie

    nfs mount in unix

    Hello, How do you create an nfs mount in hp-ux? Is there any functional difference on how it works in Linux? Regards
  2. unixwhoopie

    locale setting issues

    Hello, I am having an issue setting the locale. This issue is only as root, and not as another user, which means there is something overwriting as root user. when I do locale as root, it gives me the following: LANG=en_US.utf8 LC_CTYPE="C" LC_COLLATE="C" LC_MONETARY="C" LC_NUMERIC="C"...
  3. unixwhoopie

    locale in HP-UX

    The locale is set to Japanese as follows: export LANG=ja_JP.SJIS export LC_ALL= ja_JP.SJIS Now, when I do locale, it displays that lang is set to ja_JP.SJIS. However, I am still not able to print or view Japanese char in UNIX. Should I use Reflection for this? Thanks
  4. unixwhoopie

    locale in HP-UX

    Hello, when I do locale in HP-UX, I see the following: # locale LANG= LC_CTYPE="C" LC_COLLATE="C" LC_MONETARY="C" LC_NUMERIC="C" LC_TIME="C" LC_MESSAGES="C" LC_ALL= Does this mean no locale set? Is there a default set to English? Also, how can i set this to japanese in SJIS? THANKS Srikanth
  5. unixwhoopie

    replacing tab with comma and enclosing double quotes

    That worked. Thanks very much. I have one more question. How can I format date field in a file. I have the 4th field as date and I want all lines to be unique format: dd/mm/yyyy hh:mi:ss How can I do this? Thanks again.
  6. unixwhoopie

    replacing tab with comma and enclosing double quotes

    1,$s/\t/,/g will replace tab with , however issue is with placing quotes for the first field I am trying to place " at the end of the first field for all lines but this is not working: 1,$s/,/",/1
  7. unixwhoopie

    replacing tab with comma and enclosing double quotes

    Hello, I am trying to the following. can you let me know how? 1. I have a tab delimited file. I need to enclose the first field in double quotes. 2. I need to replace the tab with comma. Thanks for the help.
  8. unixwhoopie

    partitioning and bulk processing

    I know Informatica 7.1.3 has bulk processing capability. When you create partitions in a session, do you also need to create partition on the actual Oracle source table or does the session take care of it? Also what about parallel processing in Informatica? How does it work? Does it have to be...
  9. unixwhoopie

    number of cpu's

    How do I specify a process to use a specific number of CPU's? Also, how can I kill all instances of a process for a specific user. Kill -9 PID would kill one instance but I want to kill all instances. thanks
  10. unixwhoopie

    quotes after a certain position

    How do I put quotes after the 2nd comma? if the line reads - 12,34,need quotes,5 I want it to read as - 12,34,'need quotes',5 thanks
  11. unixwhoopie

    format output from diff utility

    I probably need to reformat my question. It is not as straight forward as I indicated. file 1 file 2 _________________________ A (hi) A (hi) B C (bad) C (good) D (good) D (good) In this case A and D match. B is missing in file 2 and C does not...
  12. unixwhoopie

    format output from diff utility

    sdiff is in a much better format. However I see one problem. file 1 file 2 ____________________ A A B C C D D when I compare file 1 and 2, file 2 is only missing line B. But sdiff compares line by line and the output shows as 2 lines that are...
  13. unixwhoopie

    sed syntax help

    I am trying to understand sed but this seems to be very confusing to me. What is the best way to learn sed? I am trying to debug a program and not sure what the following lines of code mean - export ARGS=`echo $line | sed 's/,/" "/g'` ARGS=`echo $ARGS | sed 's/^/"/'` ARGS=`echo $ARGS | sed...
  14. unixwhoopie

    format output from diff utility

    The output generated from diff is not easy to understand for a common user. what is the quickest way to format it so the user will be able to understand? I am comparing 2 db schemas and printing the table info using diff. Thanks
  15. unixwhoopie

    grep under subfolders

    If I have main folder called /var/opt/dshs and there are several subfolders like A1, A2, A3,.... The complete dir structure is /var/opt/dshs/A1/input/myfile.txt This myfile.txt is under each folder, A1, A2,... I want to grep a specific word from each of these files myfile.txt. Do I have to...
  16. unixwhoopie

    grep text in a binary file

    I am trying to do a grep on a file, but I am always getting this message - Binary file tmp.log matches. I am giving the following command to search for 3038 and display all the lines in the file - grep -40 '3038' tmp.log I am kind of new to grep and trying to figure it out... thanks
  17. unixwhoopie

    email using elm command

    Thanks for the response... I added uuencode to your command. When I use this it says invalid option -s (cat mailtext; uuencode /dir/file.txt file.txt) | mail -s "Test Mail" my_email@yahoo.com When I change this from -s to -t, the email goes fine along with the attachment. However, the...
  18. unixwhoopie

    email using elm command

    Thanks ZaSter...that seems to be working...However I am not sure where to include the body of the email in this syntax... Thanks
  19. unixwhoopie

    email using elm command

    I am using elm command to email a file from my script. This file is in regular format and not in a zipped format. However, the file goes in the body of the email instead of as a seperate attachment. elm -s "Test Mail" my_email@yahoo.com < /dir/file.txt How can I send it as a seperate...
  20. unixwhoopie

    Zip attachment does not work in email

    What is info-zip? Is it similar to gzip? Our mail server is Lotus Notes....any work arounds to use this with lotus notes? ... Thanks

Part and Inventory Search

Back
Top