Try this

sed   's/^/\./g'   file


On Thu, Jan 21, 2010 at 3:13 PM, david t. asuncion, jr. <
[email protected]> wrote:

> I must admit that I asked this question some years back but when I tried to
> a search the archives, I can't find it. :(
>
> I have a file (let's say 'censored.acl') with the following contents...
>
> google.com
> yahoo.com
> facebook.com
>
> What command can I use to put a dot in front of each line, to wit;
>
> .google.com
> .yahoo.com
> .facebook.com
>
> Anyone?!
>
> This time I will surely save it!
>
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>



-- 

Keyboard error, press F1 to continue
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to