Search Results - JustLinux Forums


Search:

Type: Posts; User: lagdawg

Page 1 of 7 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    2
    Views
    4,641

    Okay after looking at SQLLite it looks like this...

    Okay after looking at SQLLite it looks like this is what you need:
    Driver Class Name: org.sqlite.JDBC
    Connection Info: jdbc:sqlite:<database_file>

    Also make sure that the path to the package:...
  2. Replies
    2
    Views
    4,641

    I don't know what specific driver you are using...

    I don't know what specific driver you are using to connect but I can give you a couple examples that may help you figure out what you need.

    I use the Oracle Thin JDBC driver. It comes packaged...
  3. This should work in Vim: %s/^\(\( \)*\)\t/\1 ...

    This should work in Vim:

    %s/^\(\( \)*\)\t/\1 /g

    But you would need to issue this command once for every level of indentation there is at the beginning of a line. So if your most indented...
  4. s/(ABC.*)9$/\18/

    s/(ABC.*)9$/\18/
  5. Replies
    4
    Views
    1,352

    The system I am working on (HP-UX) does not have...

    The system I am working on (HP-UX) does not have the export utility so I cannot use it. Is there another way to accomplish this without writing a seperate script?
  6. Replies
    4
    Views
    1,352

    Alias command to go to a dir or subdirectory

    Hello,

    I currently must access a Unix quite often and change to a certain directory.

    I have aliased a command that takes me to that directory in my .cshrc. (This was set up by someone else and...
  7. Replies
    2
    Views
    946

    I am not sure about PHP but for perl and any...

    I am not sure about PHP but for perl and any other regex system I have used you should use {5,20} in place of {5-20}. I assume you are looking for any alphanumeric string of 5 to 20 characters.
  8. Replies
    7
    Views
    1,267

    ghostdog, I am trying to stay away from VBscript...

    ghostdog, I am trying to stay away from VBscript as I want something that is more platform independent.

    Hotcold, I have access to perl as I use it quite often. I would be interested in your...
  9. Replies
    7
    Views
    1,267

    Combining Columns in a text file

    I recently had the need to take a file and copy the first columns and add paste it in between the second and third columns in a text file.

    IE the file with columns A-D:

    A B C D

    would...
  10. Replies
    13
    Views
    1,621

    This should do close to what you need it to for...

    This should do close to what you need it to for the first part:



    sed "s/$USER/[&]/g" $myvar | grep $USER | nl >results.txt
  11. Thread: comparing

    by lagdawg
    Replies
    7
    Views
    974

    How about: diff text1.txt text2.txt | grep...

    How about:


    diff text1.txt text2.txt | grep \> | cut -d' ' -f2 >>text1.txt
  12. I agree with je_fro. I use GVIM in windows...

    I agree with je_fro. I use GVIM in windows everyday for work. I program in many different languages but mostly one that no editor or IDE would have support for. We use custom syntax files for...
  13. Replies
    7
    Views
    1,519

    In the standard X,Y coordinate system, if you...

    In the standard X,Y coordinate system, if you know two points then you can find the slope of a line (m):

    m=

    y1-y2
    --------
    x1-x2

    When you know the slope and one point on a line you can use...
  14. Replies
    10
    Views
    1,485

    I think he means for you to use chgrp to change...

    I think he means for you to use chgrp to change the folders group rather than changing anything in your etc/group file
  15. Replies
    19
    Views
    2,444

    Getting back on topic. I did something similar...

    Getting back on topic. I did something similar on my webpage using Apache, PHP, and magpierss. Magpierss is a PHP rss parser and allows you to access each individual tag in an xml rss feed. For...
  16. Replies
    7
    Views
    2,255

    I'm not sure what part of the url string you are...

    I'm not sure what part of the url string you are trying to find but if it is the cm=( ) portion then the following code would give you the eight characters following the cm= in perl.



    $url =~...
  17. Replies
    1
    Views
    816

    I have done some more work and for now I can use:...

    I have done some more work and for now I can use:

    while ($varnum !~ [0-9] && $varnum !~ [0-9][0-9])

    in order to force the user to enter a 1 or 2 digit number.

    However, there must be a way to...
  18. Replies
    1
    Views
    816

    CSH Reg-Ex Matching Help

    I have a CSH script in which it currently matches a number from 0-9 given by the user.

    while( $varnum =~ [0-9])

    I would like to not limit this to a one digit number. Would this line work:
    ...
  19. Replies
    24
    Views
    4,578

    David, you are a worthy opponet for fellow...

    David, you are a worthy opponet for fellow humans. I was once in your shoes, no one in my family would play chess. I tried playing solely against chess engines such as Chessmaster. Then I found a...
  20. Replies
    24
    Views
    4,578

    While I am not well versed at all on chess...

    While I am not well versed at all on chess environments specifically for Linux, I am a chess enthusiast and have seen many different sites and engines.

    In my experience I try to stay away from...
  21. Replies
    0
    Views
    779

    Perl Regular Expression causing warnings.

    I have perl script that has the following line in it:


    $line =~ s/^$oldLabel$|^$oldLabel(\W)|(\W)$oldLabel(\W)|(\W)$oldLabel$/$2$4$newLabel$1$3/ig;

    This code works fine, however if I try to...
  22. Replies
    278
    Views
    666,246

    Here is my solution with reversing vrooom. ...

    Here is my solution with reversing vrooom.



    #include<stdio.h>
    #include<string.h>

    char str[] = "vrooom race";

    void invVrooom () {
  23. Replies
    1
    Views
    1,472

    Well I just tried installing Ubuntu from the same...

    Well I just tried installing Ubuntu from the same disk on a different computer and it failed during the install. So I reburned from the ISO and everything worked. I still have a question though. ...
  24. Replies
    1
    Views
    1,472

    Installing Apache: apt-get errors.

    I am trying to install Apache using apt-get on Ubuntu 5.04 Hoary Hedgehog. I keep getting the following errors and cannot find a solution. I have tried adding repositories to my...
  25. Replies
    6
    Views
    1,339

    They do have more than enough bandwith 3GB/s. ...

    They do have more than enough bandwith 3GB/s. But as far as network transfer speed I thought they could only go 2Gb/s
Results 1 to 25 of 173
Page 1 of 7 1 2 3 4