Find the answer to your Linux question:
Page 100 of 637 FirstFirst ... 50 90 96 97 98 99 100 101 102 103 104 110 150 200 600 ... LastLast
Threads 1981 to 2000 of 12731

Forum: Programming / Scripting

Request help with C/C++, Perl, PHP, Python, Ruby, Bash Scripts, or other Linux programming/scripting related issues

  1. split a string and index it using bash

    Hi, I want to split a string and get specific parts using bash. for example: a="Hello world 111 222 .jpg" Now I want to split a by...

    Started by congyang, 10-01-2011
    • Replies: 3
    • Views: 2,190
    10-04-2011 Go to last post
  2. impact printer

    Good morning, i'm a newbie of the forum. My name is Massimo and i'm from Italy (don't ask me about pizza, wine and maccheroni, please! :) ). i'm...

    Started by maxy04, 10-03-2011
    • Replies: 0
    • Views: 644
    10-03-2011 Go to last post
  3. I wrote up this simple JavaScript, but it doesn't seem to work. Where

    I wrote this up and it doesn't work. Where have I stuffed up? <SCRIPT type="text/javascript"> function selector('glancej') {...

    Started by Kolusion, 10-03-2011
    • Replies: 2
    • Views: 612
    10-03-2011 Go to last post
  4. Using the LS command

    how do i use the ls command with a single argument to list all files whose names end with the letter 'r'?

    Started by anormus, 10-03-2011
    • Replies: 1
    • Views: 698
    10-03-2011 Go to last post
  5. NON Blocking Algorithm in C/C++

    Hi, I want to implement 1) singly linked list using any non-blocking algo. 2) double linked list using any non-blocking algo. As a starting...

    Started by nikunjbadjatya, 10-02-2011
    • Replies: 1
    • Views: 1,364
    10-02-2011 Go to last post
  6. Angry A "clone" doubt

    include<stdio.h> #include<sched.h> #include<stdlib.h> #include<unistd.h> #include<sys/types.h> int fn(void *a) { int *p; ...

    Started by prafu, 10-02-2011
    • Replies: 0
    • Views: 573
    10-02-2011 Go to last post
  7. calling conventions in gcc.

    So gcc offers: __attribute__((stdcall)) __attribute__((cdecl)) __attribute__((fastcall)) but you're supposed to also handle not only the...

    Started by dfatlf, 10-02-2011
    • Replies: 0
    • Views: 1,050
    10-02-2011 Go to last post
  8. Java / Linux device driver access

    Hello, I'd like to access my Linux device driver using MMAP. This is no problem in C, but in Java I'm a little lost. From what I can tell the...

    Started by amess, 10-01-2011
    • Replies: 0
    • Views: 875
    10-01-2011 Go to last post
  9. How do you do __asm rol var,1 in GCC?

    register unsigned var=1234; register unsigned dwords=5; while (dwords--) { var+=5; __asm rol var,1 } I see gcc supports inline assembly,...

    Started by dfatlf, 10-01-2011
    • Replies: 2
    • Views: 1,465
    10-01-2011 Go to last post
  10. script deletes empy lines

    Hello. Im want to write a script which empty lines for text. I want to as where i made a mistake. #!/bin/bash echo Enter file name read x a=$(sed...

    Started by trintukaz, 10-01-2011
    • Replies: 1
    • Views: 570
    10-01-2011 Go to last post
  11. simple script to run external program

    I use a simple script to time an exercise routine: sleep 5m ; warm up 5 minutes beep sleep 5m ; exercise 5 minutes beep beep and so on.

    Started by jebradl, 09-30-2011
    • Replies: 2
    • Views: 1,041
    09-30-2011 Go to last post
  12. Cool Common practice of preventing duplicate process?

    I have a system could allow only one application running at any time. But without implementing any system wide protection or stamp. Application know...

    Started by legendbb, 09-23-2011
    • Replies: 6
    • Views: 3,231
    09-30-2011 Go to last post
  13. Need to prepend Zero's to a Count Variable

    Hi Experts , We recently migrated from Unix to GNU Linux . We were using the command typeset -Z3 for incrementing counter values like (...

    Started by harishraghunathan, 09-29-2011
    • Replies: 3
    • Views: 1,395
    09-30-2011 Go to last post
  14. Linking with COFF library?

    Hi, So I read ld can link with ELF or COFF libraries. But now how do I tell GCC via the header file that the names have leading underscores? ...

    Started by dfatlf, 09-29-2011
    • Replies: 1
    • Views: 1,453
    09-29-2011 Go to last post
  15. Question Code works on one linux system, fails on another, any suggests?

    I've built server using It runs fine on my development system, which runs Debian 6.0.2 64-bit. However, when I install it on my...

    Started by forexcoder, 09-28-2011
    • Replies: 2
    • Views: 852
    09-29-2011 Go to last post
  16. Cron syslog issue

    I have written a custom cron. This cron executes a rake task every 5 minutes. I also log the trace of this execution in a file locally on my server....

    Started by manjunath_nm89, 09-29-2011
    • Replies: 1
    • Views: 613
    09-29-2011 Go to last post
  17. Question Problem: measuring performance overhead for ptrace

    Hi everyone, I try to measure the runtime of my program one time under control of ptrace and one time without. The problem is that is seems like...

    Started by JOJBerlin, 09-29-2011
    • Replies: 0
    • Views: 1,270
    09-29-2011 Go to last post
  18. errors when trying to run file checks (bash)

    i'm trying to check if both files exist and if they do i will run a code block to be developed later; otherwise skip. The files im checking need a...

    Started by techstress, 09-26-2011
    • Replies: 2
    • Views: 3,773
    09-28-2011 Go to last post
  19. Catch the output when a C program executes a script

    Hi! I am writing a server program (using C) that executes a script when the client asks for it, but I am not sure about how to see the output of that...

    Started by occam25, 09-27-2011
    • Replies: 3
    • Views: 1,145
    09-28-2011 Go to last post
  20. Does linux have a nothrownew.obj equivalent?

    Hello, under windows you can link with nothrownew.obj to have new return null instead of throw an execption. Works for the lib as well since...

    Started by dfatlf, 09-26-2011
    • Replies: 4
    • Views: 1,114
    09-27-2011 Go to last post

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 150 views
Hot thread with unread posts
More than 15 replies or 150 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts