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

    transferring variable to another script doesn't work

    Thx PHV for you're reply, Already have tried this, but did it again. Just to find out that I made a typing error. In the line above the character "\" was added at the end of the line. :-( off course it didn't work. Just overlooked it for 2 whole days...
  2. SysAdminUnix

    transferring variable to another script doesn't work

    Hi All, Need help with a script. I'm creating a menu driven script for several users. Part of this script is a statement in Oracle. After selecting a menu option a second script is called to execute the oracle statement. The results are stored in a spoolfile, which then is displayed with the...
  3. SysAdminUnix

    redirect type with a filename

    I'm creating an "old style" batch script. The results of this script are stored in a logfile. Now I want to include the contents of another logfile into this first logfile. The name of this file is each day different. The second logfile resides in a directory, and is the only file that is...
  4. SysAdminUnix

    Howto start a sql script from windows

    How do I start a commandfile in windows to get data/commands in/out oracle? I know that it has to be something like a command file containing a string like "sqlplus@example.sql". In the file example.sql there is a string like "select * from dual;". I'm at the moment only familiar with the Unix...
  5. SysAdminUnix

    Connecting a Laptop HD

    Yes, its possibly. You only need to have a converter, because the 2,5 needs to be connected to a normal IDE port. Shouldn't cost anymore then $ 10,--.
  6. SysAdminUnix

    RedHat 9 installation problems (crash)

    Problem is solved. I disconnected hd3, which was on the same bus as the cdrom, and succesfully installed RH. Reconnected hd3 afterwards. The server is now running just fine. Weird problem. Thx all for the ideas. Herman
  7. SysAdminUnix

    RedHat 9 installation problems (crash)

    I'm having problems installing RedHat 9. I have 2 sets of CDs; one downloaded from RH, and one set bought. None of them are working. When I start a new fresh install, I choose all defaults; choose for a server or custom installation, doesn't matter what; errors are the same. Add the information...
  8. SysAdminUnix

    array and variable in Korn Shell

    Thx Annihilannic for the solution. Works also, and seems a better (read neater) solution. Off course the vars vrarray* will be used through the entire script, so your solution will be best, since the eval should run only once.
  9. SysAdminUnix

    array and variable in Korn Shell

    To dickiebird: If I remove the escape characters then the following error occurred: 250; 1.2.3.4; routerUS01.nl.com. ./lol[8]: vrarray0=${system${arraywaarde}"[0]"}: The specified substitution is not valid for this command. To Ygor: eval did the solution. Works now: 250; 1.2.3.4...
  10. SysAdminUnix

    array and variable in Korn Shell

    Hi, I'm trying to create a script with a variable array. First I'll set the array's. After that I'm going into a loop so I can call all three array's in one pass. set -A system1 250 1.2.3.4 routerUS01.nl.com set -A system2 250 2.3.4.5 router2501.nl.com echo ${system1[0]}&quot...

Part and Inventory Search

Back
Top