[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Quick sed question



2008/12/2 Paul <paul all-the-johnsons co uk>:
>
> 's,@''bindir@,$(bindir),g'
>
> what does the ,g do?
>

(each) "," is a delimiter, the "g" means replace every instance of
@''bindir@ on each line - without it it would just be the first
instance on every line.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]