LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

C/C++ dosex (irregular expressions :) for copying, renaming with wildcards

Posted 04-02-2012 at 12:42 AM by rainbowsally

dosex (irregular expressions for copying, renaming with wildcards

Features:
  • input a name and a wildcards string to see if the name matches
  • optionally input an wildcards string for a new name and get a very good clone of DOS
    functionality.

This was the last missing piece for the filenames functions which will be included in libLQ shortly.

file: src/main.c
purpose: demonstrate mixing C declarations and C++ functionality, also 'dosex' demo....
Member
Posted in Uncategorized
Views 14089 Comments 6 rainbowsally is offline
Old

A random selection from Ghostscript 9.05

Posted 04-01-2012 at 11:55 AM by SourceHorse
Updated 04-01-2012 at 11:57 AM by SourceHorse (correct order of lines 4 and 5)

Code:
 _______    |\_
| o   o |   /o \\
| o   o |  (_. ||
| o   o |   /__\\
'-------'   )___(

The Source Horse
Article 1
A random selection from Ghostscript 9.05
Introducing The Source Horse: a trail log of free program execution paths. Like architecture, programming should be done with great care. This will be about reading programs, not writing them. I will start with ghostscript. Ghostscript is a portable implementation of PostScript,...
LQ Newbie
Posted in Uncategorized
Views 314 Comments 0 SourceHorse is offline
Old

Streamripper and friends. Recording internet radio.

Posted 04-01-2012 at 11:31 AM by stretchedthin

Streamripper is a linux command line application that makes it easy to record internet radio. As well as showing how to use this command line tool I take a look at StreamRipStar one of the many front ends for Streamripper. A little bit of audacity editing is thrown in at the end as well.

Here is the screencast
Streamripper and friends. Recording internet radio.
Member
Posted in Uncategorized
Views 473 Comments 0 stretchedthin is offline
Old

PlayShell 0.2-WP10

Posted 04-01-2012 at 04:23 AM by konsolebox

PlayShell 0.2-WP10 was released today.

page: http://playshell.sourceforge.net/
files: http://sourceforge.net/projects/play...hell/0.2-WP10/
Senior Member
Posted in Projects
Views 597 Comments 0 konsolebox is offline
Old

Bash functions to list and kill or send signals to process trees

Posted 04-01-2012 at 12:54 AM by konsolebox
Updated 07-28-2014 at 12:39 PM by konsolebox

These functions can be used in scripts or interactive shells to manipulate process trees. At least bash version 3.0 is needed. May also work with some earlier versions.

killtree - Creates a list of processes based from a parent process ID first then sends the signal to all of them synchronously.

killtree2 - Same as killtree but it doesn't create a list first. It immediately kills processes as it goes through every level.

killtree3 - This version kills...
Senior Member
Posted in Howtos
Views 1890 Comments 0 konsolebox is offline

  



All times are GMT -5. The time now is 10:09 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration