TIP: Click on subject to list as thread! ANSI
echo: linux
to: ALL
from: Kenneth_Parrish@f345.n10.z1
date: 2006-01-11 18:12:17
subject: eRuby and uPerl was, Re: audio/video capture

Path: number1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.adelphia.com!news.adelphia.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 11 Jan 2006 18:12:17 -0600
Newsgroups: fidonet.linux
From: Kenneth_Parrish@f345.n10.z1
Date: Wed, 11 Jan 2006 10:55:56 -0500
Subject: eRuby and uPerl   was, Re: audio/video capture
Message-ID: 
References: 
Organization: BBS Networks @ www.bbsnets.com 808-839-6036
 1414
Lines: 90
NNTP-Posting-Host: 24.54.66.112
 properly
Xref: number1.nntp.dca.giganews.com fidonet.linux:456

-=> Maurice Kinal wrote to Kenneth Parrish <=-

 MK> From what I see from a search it seems to me that eruby is used to embed
 MK> ruby into cgi scripts.  That isn't the same as microperl which isn't used
 MK> to embed anything into anything.  I don't think it is comparable.

 eruby(1)                                                 eruby(1)



 NAME
        eruby - Embedded Ruby Language

 SYNOPSIS
        eruby [options] [inputfile]

 DESCRIPTION
        eruby interprets a Ruby code embedded text file. For exam
        ple, eruby enables you to embed a  Ruby  code  to  a  HTML
        file.   A  Ruby block starts with `'.
        eRuby replaces the block with its output.  If `<%' is fol
        lowed by `=', eRuby replaces the block with a value of the
        block.  If `<%' is followed by `#', the block  is  ignored
        as a comment.

 OPTIONS
        -d, --debug
               set debugging flags (set $DEBUG to true)

        -Kkcode
               specifies KANJI (Japanese) code-set

        -Mmode specifies runtime mode
                   f: filter mode
                   c: CGI mode
                   n: NPH-CGI mode

        -C charset
               specifies charset parameter for Content-Type

        -n, --noheader
               disables CGI header output

        -v, --verbose
               enables verbose mode

        --version
               print version information and exit

 AUTHOR
        Shugo Maeda 



                           September 2000                 eruby(1)
(END)

 MK> Basically I just use microperl as a standalone scriptor to assist
 MK> bash.  No additional libs are required but the modules would be
 MK> required for cgi scripting etc.
yes, i think

 MK> I've looked at ruby before and decided then to stick it out with
 MK> perl despite the bloat.  For minimal systems microperl provides
 MK> the builtin functions of perl and I use it to (re)format files
 MK> on the fly and not for web or any other networking apps so the
 MK> modules aren't a big deal to me.  The builtin pack() and unpack()
 MK> functions are what gets the most mileage around these parts.  Those
 MK> are extremely useful for custom databasing.
a ok

 KP>> ... of the headers, some good tweaks lurking?

 MK> Not yet.  I did rebuild a partition using svn libc-headers and
 MK> gcc-4.1 (4.1-20060106 to be more accurate).  Haven't 'installed' a
 MK> kernel and booted it up yet.  I need to edit the rc scripts first
 MK> as well as test some things before going hogwild compiling stuff.
 MK> Everything is currently down to minimal-must-have stuff at the
 MK> moment.  Looks very promising.
2.6.15-git7 is big

-rw-------  1 ken users 3189279 Jan 11 03:53
/home/ken/build/kernel/patch-2.6.15-git7.bz2

it configured and compiled nicely for me but i included some of the new stuff
(experimental) and had a lockup soon, and poor lmbench and nbench results in some
areas yet improvements elsewhere. go figure. :) some nice features even now

.. Try not to have a good time. This is supposed to be educational.  -- schulz

SOURCE: echoes via archive.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.