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 bkrike 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: punchykool
  • Content: Threads
  • Order by date
  1. punchykool

    Reading 2.5 notebook disk in 3.5 desktop machine?

    I've got a corrupt IBM Travelstar DJSA-220 20GB hard disk from a notebook machine. It's 2.5" in size. I've got a 2.5" to 3.5" adapter. I've acquired the correct jumper setting from IBM to make this disk a slave. I've connected this disk to the desktop machine using the adapter. (And yes, I've...
  2. punchykool

    backing up by file types in specified folder

    Hi. In my unix world, I can easily define what file extensions I want to backup and from which directories, but I need to do this on a Windows machine. I have a large project folder containing code, binaries, zip files, test junk, and then documentation pieces. I want to be able to say from...
  3. punchykool

    method to increase column widths

    I am having issues getting awk to give me what I want. All fields are pipe delimitted. All first fields contain 7 chars. I need: 1. column 2 to have a set width of 20 chars 2. column 4 to have a set width of 30 chars BEFORE: 1829101|CHRYSLER|1961|WINDSOR|008|383|06277|6.3L|2BL| 20G...
  4. punchykool

    getting valid line counts

    I have what appears to be a user error, but I cannot determine why the results are not coming out right. I have a file with 90 validated lines in it. //I counted them manually Using `wc -l`, it yields 89. I look for lines with the string "A" in it and get 79. //The prompt returns on a...
  5. punchykool

    using expr

    How do I get `expr` to recognize a decimal? Say I want to multiply some whole number by .05. expr 50000 \* .05 On my Sun OS 5.6 machine, this command yields: "expr: syntax error" I also tried protecting the dot, but that did not help either. Perhaps there are other soutions. Thanks in advance.
  6. punchykool

    force document to print portrait

    rather than having the printer use a landscape format for a file that may exceed some recommended width when using the lpr command, can I get it to print in portrait? I tried using col with the -b flag and that did not help. Also, is there some method of forcing the text to wrap for the printer...
  7. punchykool

    searching for quote (") in an iSQL statement

    Hello, trying to find a double-quote (") in a varchar field. How do we do this? I have tried these, but obviously there are three sets of quotes and it doesn't like that. Aside from unloading the table and using other tools to find it, can we comment out the quote so it will return those...
  8. punchykool

    method to force backgrounding a process without &

    can I force a script to run in the background without having my users place an ampersand at the end of the command line? nohup?

Part and Inventory Search

Back
Top