Quick sed question

Andrew Parker andrewparker at bigfoot.com
Wed Dec 3 00:14:34 UTC 2008


2008/12/2 Paul <paul at 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.




More information about the fedora-devel-list mailing list