Find the answer to your Linux question:
Page 99 of 636 FirstFirst ... 49 89 95 96 97 98 99 100 101 102 103 109 149 199 599 ... LastLast
Threads 1961 to 1980 of 12714

Forum: Programming / Scripting

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

  1. Insert NewLine Character

    Hi, I have some text files I'm trying to sort. I want a utility that is able to insert a newline character after each specified character. (BASH...

    Started by stefer, 10-04-2011
    • Replies: 1
    • Views: 968
    10-04-2011 Go to last post
  2. 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,184
    10-04-2011 Go to last post
  3. 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: 638
    10-03-2011 Go to last post
  4. 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: 609
    10-03-2011 Go to last post
  5. 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: 696
    10-03-2011 Go to last post
  6. 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,353
    10-02-2011 Go to last post
  7. 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: 567
    10-02-2011 Go to last post
  8. 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,045
    10-02-2011 Go to last post
  9. 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: 870
    10-01-2011 Go to last post
  10. 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,462
    10-01-2011 Go to last post
  11. 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: 568
    10-01-2011 Go to last post
  12. 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,038
    09-30-2011 Go to last post
  13. 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,207
    09-30-2011 Go to last post
  14. 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,387
    09-30-2011 Go to last post
  15. 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,446
    09-29-2011 Go to last post
  16. Question Code works on one linux system, fails on another, any suggests?

    I've built server using webtoolkit.eu. 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: 847
    09-29-2011 Go to last post
  17. 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: 606
    09-29-2011 Go to last post
  18. 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,258
    09-29-2011 Go to last post
  19. 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,698
    09-28-2011 Go to last post
  20. 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,135
    09-28-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
  •