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

    My tar file contains many files but only the first file will extract

    There are probably 50 or 60 files in the tar. When I cat the tar file the contents of each file are displayed so the tar definitely contains all of the files. tar -tvf does the same and only shows the first file.
  2. raypru

    My tar file contains many files but only the first file will extract

    My tar file has many files but when I use tar xvf only the first file is extracted. What is the problem? ray @ loninsathp1:/home/ray/scripts#ls -lrt use* -rwxr--r-- 1 ray dba 271934 Jun 22 16:31 useful_scripts.tar ray @ loninsathp1:/home/ray/scripts#tar -xvf useful_scripts.tar x...
  3. raypru

    Problem with function in shell

    ...actually it would be quite helpful to know how to get scripts like this from work to home without the format being changed or how can I convert the format once I have got the script to my home.
  4. raypru

    Problem with function in shell

    Hi everyone who responded thanks for your input. It looks like the problem was caused by my developing this shell on a Unix box at work, FTPing to my desktop, emailing to my home and copying to my home Linux server. This long way of getting this script from work to home has interferred with the...
  5. raypru

    Problem with function in shell

    This is my script called dbfunctions.ksh: function LOGF { tstamp=`date '+%d/%m/%y %X'` echo "$tstamp ${1}" >> $LOG return 0 } LOG=test.log First I pass the command set -x but when I run the script the following error occurs. I cannot see anything wrong. . ./dbfunctions.ksh + ...
  6. raypru

    Calling shell script with an asterisk * as a parameter

    Thanks to PHV for your contributions. Thanks also to SamBones your suggestion set -f does the job perfectly
  7. raypru

    Calling shell script with an asterisk * as a parameter

    This would work if my parameter was hard coded. However, the problem is that the parameter that I am passing in is an environment variable (apologies, I did not mention this in my earlier posting) ie. FILE=export.test FILE_EXT=log shell.ksh ${FILE}.*.${FILE_EXT}
  8. raypru

    Calling shell script with an asterisk * as a parameter

    When running a shell script I want to call another shell script and pass in a parameter representing a filename. The structure of the filename is: ProgramName.DatabaseName.Date.log Whilst the ProgramName and DatabaseName are known the date is not known. if... ProgramName=export...
  9. raypru

    Installing Windows 2000 Server - Linux dual boot

    As I suspected there was a problem with the monitor settings. I copied /etc/X11/XF86Config.install over /etc/X11/XF86Config then rebooted and my Linux desktop has loaded successfully.
  10. raypru

    Installing Windows 2000 Server - Linux dual boot

    Thanks for your replies to earlier question. I managed to get hold of Suse 9.2, which has a 2.6 kernel. The installation completed successfully but when I boot to Linux the screen displays...Initiating hardware then Starting System then Starting Devices then Starting Services but then a White...
  11. raypru

    Installing Windows 2000 Server - Linux dual boot

    I boot from CD but when installer displays disks only the IDE is shown not the SATA. Do you know how to get Linux installer to see the disk?
  12. raypru

    Installing Windows 2000 Server - Linux dual boot

    I have Windows 2000 Server already installed and want to dual boot to Red Hat Linux 9 and need some advice as to the best way to do this. I have 2 disks installed in my current setup: 40gb IDE Disk with Windows 2000 Server installed on NTFS 200gb Serial ATA Maxtor currently empty on NTFS...
  13. raypru

    Read XML file/DOM to extract element value

    Thanks for the link to the SAX tutorial, it helped me a great deal. Just one further question I am trying to parse the following using the SAX example from the link and everything is written out to a file except the equals(=) character both before "text/css" and "#F5F5DC". Any ideas why this...
  14. raypru

    Read XML file/DOM to extract element value

    Does anyone have examples using SAX that will enable me to extract the values myType and myContent from the TYPE and CONTENT tags using the XML example below. The XML could be held in a file, string or DOM: <MESSAGE> <TYPE>myType</TYPE> <CONTENT>myContent</CONTENT> </MESSAGE>
  15. raypru

    What object initiated the current object

    It looks like we are trying to do the impossible for the Java version we are at so we have redesigned our app so that we do not need to know the previous class. Thanks to everyone who has contributed to this issue.
  16. raypru

    What object initiated the current object

    Thanks for the input. hologram's example is what we are looking for but we are restricted to version 1.3.8 and the StackTraceElement is new from 1.41. In answer to Diancecht, we are a team of 4 who are all fairly new to Java and we are developing a generic interface that will sit between two...
  17. raypru

    What object initiated the current object

    Hi Thanks for taking the trouble to respond. I have many classes that could call a particular class (SecondClass below) and from within the class (SecondClass) I want to know which of the other classes called it. I don't want to pass in a parameter to SecondClass giving the name of the calling...
  18. raypru

    What object initiated the current object

    If Object A initiates Object B, how can I tell from within Object B that Object A initiated Object B without actually passing in the object name.
  19. raypru

    SIGTTIN problem with rsh in nohup

    You are right there is a space but I think this has occurred when cutting and pasting into this forum because the script I am having problems with does not have the space. Thanks for your input.
  20. raypru

    SIGTTIN problem with rsh in nohup

    I am running a job using nohup which is hanging then exiting with a SIGTTIN message which I understand is where the program is waiting for some input. It looks like it does not like the rsh command although this works fine when I run from the command line. Can anyone explain what input this...

Part and Inventory Search

Back
Top