Re: [PATCH 2/3] Fix sed script to work with AIX and BSD sed.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Benoit Sigoure
Date: Thursday, November 8, 2007 - 3:15 pm

On Nov 8, 2007, at 10:48 PM, Ralf Wildenhues wrote:


Just out of curiosity, is there any valid reason to use `[' and `]'  
in this RE?  By default sed does not use extended RE (at least none  
of the implementation I know of) so why not just use sed 's/|/...' ?


-- 
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] some shell portability fixes, v2, Ralf Wildenhues, (Thu Nov 8, 2:46 pm)
[PATCH 2/3] Fix sed script to work with AIX and BSD sed., Ralf Wildenhues, (Thu Nov 8, 2:48 pm)
[PATCH 3/3] Fix sed string regex escaping in module_name., Ralf Wildenhues, (Thu Nov 8, 2:48 pm)
Re: [PATCH 2/3] Fix sed script to work with AIX and BSD sed., Benoit Sigoure, (Thu Nov 8, 3:15 pm)