Article View: best.general
Article #1653Re: perl versions of sed commands?
From: Randal L. Schwartz
Date: Fri, 24 Nov 1995 00:00
Date: Fri, 24 Nov 1995 00:00
38 lines
1650 bytes
1650 bytes
>>>>> "Zenin" == Zenin <zenin@best.com> writes: Zenin> Thanx for all the replys! They have helped me to no end. Zenin> The only problem now is the more and more I learn of perl, Zenin> the more and more I'm disliking csh, my once fav languege... :( Zenin> Oh well, I guess I'm just growing. :) Ayup. Getting smarter. Zenin> Hay, anyone know of a csh (or sh) to perl converter??? :) Yeah, just change your script from: #!/bin/sh your script here to #!/usr/bin/perl system <<'EOF'; your script here EOF :-) Just another Perl hacker, -- Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095 Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@ora.com) Web: <A HREF="http://www.teleport.com/~merlyn/">My Home Page!</A> Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me
Technical Details
Message-ID:
<uk91l66nji.fsf@linda.teleport.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<48o3if$qtp@shellx.best.com> <1995Nov22.184033.11095@netlabs.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9f6d,bf8145ae39ef9a25 X-Google-Attributes: gidf9f6d,public X-Google-Thread: 1012a6,bf8145ae39ef9a25 X-Google-Attributes: gid1012a6,public From: merlyn@stonehenge.com (Randal L. Schwartz) Subject: Re: perl versions of sed commands? Date: 1995/11/24 Message-ID: <uk91l66nji.fsf@linda.teleport.com> X-Deja-AN: 120018341 sender: merlyn@linda.teleport.com references: <48o3if$qtp@shellx.best.com> <1995Nov22.184033.11095@netlabs.com> to: Zenin <zenin@best.com> organization: Stonehenge Consulting Services; Portland, Oregon, USA reply-to: merlyn@stonehenge.com newsgroups: best.general,comp.unix.shell