public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] perl, sed and non-gsed
@ 2005-03-28 16:06 Diego "Flameeyes" Pettenò
  2005-03-28 16:34 ` David Morgan
                   ` (3 more replies)
  0 siblings, 4 replies; 53+ messages in thread
From: Diego "Flameeyes" Pettenò @ 2005-03-28 16:06 UTC (permalink / raw
  To: gentoo-dev

Hi,
as I've already pointed out to Brad about mozilla-firefox new ebuild, there 
are a few ebuilds in which, for simple regexp replaces, perl is used with 
sintax perl -pi -e expression file.
As perl is not in the core packages, using this requires adding perl to the 
buildtime dependency of the package. This is anyway an useless dependency as 
it isn't needed for something like that.
A good replacement for it is using sed -i -e expression file, which is the 
same thing.

Please also note that using a sintax like that:

sed -e expression file file file -i

just works on gsed, but doesn't work with other sed implementations (bsdish, 
macos, solaris, ...). -i must be put before any -e!

Please update the erroneous ebuild, as these could make problems when 
gentoo/non-linux-os .

Thanks,
-- 
Diego "Flameeyes" Pettenò
http://wwwstud.dsi.unive.it/~dpetteno/

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 53+ messages in thread

end of thread, other threads:[~2005-04-07 20:58 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-28 16:06 [gentoo-dev] perl, sed and non-gsed Diego "Flameeyes" Pettenò
2005-03-28 16:34 ` David Morgan
2005-03-28 17:28 ` Jan Brinkmann
2005-03-28 17:31 ` Ciaran McCreesh
2005-03-28 17:43   ` Diego "Flameeyes" Pettenò
2005-03-28 17:51     ` Ciaran McCreesh
2005-03-28 18:38       ` Mike Frysinger
2005-03-28 17:52   ` Daniel Ostrow
2005-03-29  4:58   ` Aaron Walker
2005-03-29 15:23     ` Diego "Flameeyes" Pettenò
2005-03-29 16:56       ` Ciaran McCreesh
2005-03-29 17:13         ` Diego "Flameeyes" Pettenò
2005-03-29 18:04           ` Ciaran McCreesh
2005-03-29 18:18             ` Diego "Flameeyes" Pettenò
2005-03-29 18:16       ` Stephen Bennett
2005-03-29 18:55         ` Ciaran McCreesh
2005-04-06 21:08         ` Luca Barbato
2005-04-06 21:50           ` Diego "Flameeyes" Pettenò
2005-04-07  6:26           ` Brian Harring
2005-04-07  6:33             ` Luca Barbato
2005-04-07 10:22               ` Stroller
2005-04-07 11:04                 ` Brian Harring
2005-04-07 12:02                   ` Ciaran McCreesh
2005-04-07 12:29                     ` Brian Harring
2005-04-07 12:36                       ` Alec Warner
2005-04-07 12:46                         ` Brian Harring
2005-04-07 12:51                           ` Ciaran McCreesh
2005-04-07 13:15                             ` Brian Harring
2005-04-07 13:23                               ` Ciaran McCreesh
2005-04-07 13:17                             ` Stefan Sperling
2005-04-07 13:23                               ` Mike Frysinger
2005-04-07 13:57                                 ` Stefan Sperling
2005-04-07 13:24                               ` Ciaran McCreesh
2005-04-07 13:36                                 ` [gentoo-dev] portage and operating from a non / prefix\x0f; was: " Brian Harring
2005-04-07 13:43                                   ` Ciaran McCreesh
2005-04-07 13:40                                 ` [gentoo-dev] " Stefan Sperling
2005-04-07 16:49                   ` Lina Pezzella
2005-04-07 12:01                 ` Ciaran McCreesh
2005-04-07 12:31                   ` Diego "Flameeyes" Pettenò
2005-04-07 12:39                     ` Ciaran McCreesh
2005-04-07 16:58                       ` Lina Pezzella
2005-04-07 17:02                         ` Ciaran McCreesh
2005-04-07 20:57                           ` Lina Pezzella
2005-04-07 16:54                     ` Lina Pezzella
2005-04-07 15:17                 ` Luca Barbato
2005-04-07 15:21                   ` Ciaran McCreesh
2005-04-07 15:28                   ` Diego "Flameeyes" Pettenò
2005-04-07 15:39                     ` Luca Barbato
2005-04-07 15:51                       ` Diego "Flameeyes" Pettenò
2005-04-07 17:03                   ` Lina Pezzella
2005-04-07 17:14                     ` Luca Barbato
2005-04-07 20:58                       ` Lina Pezzella
2005-03-28 17:57 ` Hasan Khalil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox