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

  1. jping45

    printing line numbers with leading zeros...

    i have a file that contains 288 lines and I need to parse the data and grab various fields, (which is no problem), however I also need to add to the beginning of each line the line number with preceding zeros, (up to 4 characters) at the front of the line number. EX...
  2. jping45

    Loading an array with the first field in a multi line file

    that's exactally what I've been looking for!!! thanks for the assistance...
  3. jping45

    Loading an array with the first field in a multi line file

    Here's what I have so far... awk '{a[NR]=$1}END{print a[NR]}' INPUTFILE But this only prints the last element... which in the above example would be "ccc"
  4. jping45

    Loading an array with the first field in a multi line file

    Another question for you.. how can I get the value of each element in the array printed on a single line?
  5. jping45

    Loading an array with the first field in a multi line file

    Hi all - - I want to load an array, to be used later for a system command, with the first field in a multi-line file. The input file will have anywhere from 2 to 150 lines, give or take a few lines... EX: aaa 111 222 333 bbb 123 123 123 ccc 345 345 345 . . and have the value of the array...
  6. jping45

    Link one dir to many...

    Actually, sjm2 you are correct... I'd like to have the ls DIR1 show the contents of dira, b and c... Regards
  7. jping45

    Link one dir to many...

    I have a question for the Gurus... I have a need to link one directory to several others. EX. DIR1 --> dira, dirb, dirc, etc... Is there a way to do this within AIX???
  8. jping45

    remove PVID

    you can use lquerypv -ch /dev/hdisk# to clear out the PVID info
  9. jping45

    File Parsing question....

    Actually the requirments have changed... now I need to search the file for a variable (which can be class1 or class2 or class3, so on... ) and print the paragraph to a file that will be used for report generation...
  10. jping45

    File Parsing question....

    I have a file: Class1: entry1 = <some text> entry2 = <some text> entry3 = <some text> Class2: entry1 = <some text> entry2 = <some text> entry3 = <some text> Class3: entry1 = <some text> entry2 = <some text> entry3 = <some text> . . . Here's my...
  11. jping45

    Errors downloading expense reports

    When users create an expense report (pdf format) in SAP and attempt to download them, vi http and eventually Adobe, they get a list of the expense reports that exist, (I've verified their existance on the applicaiton server) when the user selects a report to print they get an error stating...
  12. jping45

    X-Windows Permissions

    does anyone know what permissions need to be set for X-Windows to work. I have a lpar running AIX53TL04 with all the X11 filesets installed and I can only get the root user to work with Xwindows. Any non-root user can not access the lpar. I get a login screen and when I enter the correct...
  13. jping45

    creating variables with 'spaces'

    Thanks for the input guys....
  14. jping45

    creating variables with 'spaces'

    I have an input file: 1) host1 2) host2 3) host3 4) hosta 5) hostb 6) hostc so on and so forth. I want to treat "1) host1" as a variable, however I've tried several combinations and can only get variables assigned as "1)" and "host1". Any help would be appreciated.
  15. jping45

    User Administration Help...

    Thanks for the input everyone. There are enough ideas here I should be able to decide on a strategy. Thanks Again, jping45
  16. jping45

    User Administration Help...

    I have an environment that consists of over 75 lpars and standalone servers. I have over 2100 users to manage across the entire enterprise. I need to keep UIDs and GIDs syncd to prevent duplicate UID and GIDs. Does anyone have any suggestions as to how to accomplish this. Also, passwords are...
  17. jping45

    Assistance with merge script

    p5wizard... outstanding! Thanks for the assistance and quick replies.
  18. jping45

    Assistance with merge script

    p5wizard, thanks for the response, however I'm not sure I understand the loop. It looks like you are setting the $file variable to the output from the ls command. where are $1-$3 being set?
  19. jping45

    Assistance with merge script

    I have about 70 files to merge into one, each file has about 7 lines or so of data. The final format has to be: DATA FROM FILE1 DATA FROM FILE2 DATA FROM FILE3 DATA FROM FILE1 DATA FROM FILE2 DATA FROM FILE3 DATA FROM FILE1 DATA FROM FILE2 DATA FROM FILE3 DATA FROM FILE1 DATA FROM FILE2...
  20. jping45

    Creating a loop in VB

    Thanks everyone for the input... I was able to get the job done by using the tips from Fumei...

Part and Inventory Search

Back
Top