Search:

Type: Posts; User: Arndt; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.13 seconds.

  1. Re: Print technical drawing with exact measurements given a list of segments

    Do you know for sure that libreoffice does this?

    I don't want to do it with my own code unless I have to, as I wrote.
  2. Re: Force find command to search within Symlinks?

    There is also -follow, which is apparently similar but not identical. (I just took a quick look in the man page - I knew about -follow but not about -L.)
  3. Print technical drawing with exact measurements given a list of segments

    I asked this on stackoverflow, and they didn't seem to like it, so I try here. Maybe Programming Talk is wrong, but I don't know what is right. To me, this is general programming/development, even if...
  4. [SOLVED] Re: :(:confused: undefined reference to `iargc_' and main!

    Fortran doesn't seem to be involved so far. .s is assembly code. What does peg_diag.s contain?
  5. Re: ksh vs bash: setting variable in piped loops are lost

    Someone said that seven months ago.
  6. Thread: xclip problem

    by Arndt
    Replies
    14
    Views
    2,515

    Re: xclip problem

    That would seem to explain it. I missed the part about "Run in terminal" - I thought he just meant call the script in an existing terminal emulator, which works, as I showed.

    However, when I tried...
  7. Thread: xclip problem

    by Arndt
    Replies
    14
    Views
    2,515

    Re: xclip problem

    If you follow the steps below, do the same things happen? How do my steps differ from yours? (I use Ubuntu 10, by the way.)


    arndt@ubuntu:~/clip$ echo "it works" > text.txt
    arndt@ubuntu:~/clip$...
  8. Thread: xclip problem

    by Arndt
    Replies
    14
    Views
    2,515

    Re: xclip problem

    How do you determine that it doesn't work? Does "xclip -sel clip -o" show what you expect?

    Show the exact commands you are using, and the contents of the script file.
  9. Re: warning: GDB: Failed to set controlling terminal: Operation not permitted

    How can the problem be reproduced?
  10. Re: C - Why unsigned char can cause problematic behaviour

    An example of a situation which can give problems is if you use an expression of char type to index an array. If chars are unsigned, it will likely work as you expect. If chars are signed, it will...
  11. Replies
    19
    Views
    906

    [SOLVED] Re: yapwsab Yet Another Problem With Strings

    A string delimited with " starts at one " and ends at the next one, so a string or sequence of strings like this

    "abc"def"ghi"
    does not contain

    abc"def"ghi
    but instead
    ...
  12. Replies
    19
    Views
    906

    [SOLVED] Re: yapwsab Yet Another Problem With Strings

    What does your attempt look like?
  13. Replies
    4
    Views
    362

    [SOLVED] Re: Really Big number

    Ah, a classical homework task. There are shortcuts. But have you printed out and looked at the numbers before doing the modulo operation?
  14. Replies
    5
    Views
    603

    Re: Macro'ing with ubuntu

    I can't help you with what you are looking for (it surely exists), but m4 operates only on text. It reads from standard input and writes on standard output. "man m4" refers to "info m4", which has...
  15. Replies
    4
    Views
    1,750

    Re: Segmentation fault when running program

    Have you tried the debugger?
  16. Re: Using Bash to convert upper to lower case with accented letters

    You forgot Å.

    And the original poster may not read this thread anymore.
  17. Re: How can I replace text in a file from the command line?

    How do you best identify the existing line? Listing all of it seems excessive.

    The ^ and * characters have special meaning in the 'sed' searching commands, so you need to quote them.


    sed -i...
  18. Replies
    4
    Views
    641

    [SOLVED] Re: Python function hep?

    With code like this:


    open("/tmp/artistinfo","w").write(artist)

    it's not certain that what is written appears on disk immediately. You should close the file too.

    What is actually in the...
  19. [SOLVED] Re: allocating and initialising a pointer inside a function

    *b[i] means the same as *(b[i]), not (*b)[i].
  20. Replies
    10
    Views
    551

    [SOLVED] Re: Undefined Const behaviour

    (int *)p is a cast, and since it doesn't use the keyword 'const', you're telling the compiler that it is allowed to modify things pointed to by p. That is a lie, since you declared i const. In C...
  21. Re: [SOLVED] Bash script to make .xml files out of raw text files

    Since you ask for a bash script, how about this:


    while read x; do
    read y
    echo "<company>$x</company>"
    echo "<role>$y</role>"
    done
  22. Thread: cc vs gcc

    by Arndt
    Replies
    4
    Views
    794

    Re: cc vs gcc

    I suppose that on Solaris, cc is not gcc. One step in porting can be to fetch gcc to your Solaris environment and use it for building your code. What the important differences are in your case will...
  23. Replies
    1
    Views
    431

    Re: child process and pipe problem

    Did you get no instructions for how to create a pipe? There is an intuitively named system call for the purpose.
  24. Replies
    3
    Views
    1,620

    Re: How Can I make a POSIX/C regex non-greedy?

    "so" and "eo" sound like they could mean "start offset" and "end offset". You use "so" that way, but you use "eo" as if it was a count.
  25. Re: XSD complexType with elements and attributes

    Something like this:


    <xs:element name="task">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="constraint">
    <xs:complexType>...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4