Re: How to insert a formated line in a file
Marco Marongiu <[email protected]> Fri, 16 Jan 2026 18:58:10 +0100
| Newsgroups | gmane.comp.sysutils.cfengine.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------2irlgmvENu5pI2UchnXwhhGH
Content-Type: text/plain; charset="UTF-8"; format=flowed
Hi Jerome Jean, happy new year!
Check *${const.t}*.
https://docs.cfengine.com/docs/lts/reference/special-variables/const/
Ciao,
bronto
On 16/01/2026 18:42, Jerome Jean Verleyen wrote:
> Dear all.
> I've using the edit line function with insert_lines. What i need is to
> insert a formated line, like this:
>
> $(bundle.value1)[TAB character]$(bundle.value2)[TAB
> character]$(bundle.value3).
>
> I could do with simple space character, but i don't found how to
> insert TAB in the line.. Like a printf() function in C language.
>
> Someone could help me?
>
> Regards!
>
> Happy new year!
>
--
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/help-cfengine/74365b53-d992-47f0-a88f-cdd7e276d0c8%40gmail.com.
--------------2irlgmvENu5pI2UchnXwhhGH
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8=
">
</head>
<body>
<p><font face=3D"Cantarell">Hi Jerome Jean, happy new year!</font></p>
<p><font face=3D"Cantarell">Check </font><font face=3D"monospace"><b>${=
const.t}</b></font><font
face=3D"Cantarell">.
<a class=3D"moz-txt-link-freetext" href=3D"https://docs.cfengine.co=
m/docs/lts/reference/special-variables/const/">https://docs.cfengine.com/do=
cs/lts/reference/special-variables/const/</a></font></p>
<p><font face=3D"Cantarell">Ciao,<br>
bronto</font></p>
<p><font face=3D"Cantarell"><br>
</font></p>
<div class=3D"moz-cite-prefix">On 16/01/2026 18:42, Jerome Jean
Verleyen wrote:<br>
</div>
<blockquote type=3D"cite"
cite=3D"mid:[email protected]">
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF=
-8">
<div>Dear all.</div>
<div>I've using the edit line function with insert_lines. What i
need is to insert a formated line, like this:</div>
<div><br>
</div>
<div>$(bundle.value1)[TAB character]$(bundle.value2)[TAB
character]$(bundle.value3).</div>
<div><br>
</div>
<div>I could do with simple space character, but i don't found how
to insert TAB in the line.. Like a printf() function in C
language.</div>
<div><br>
</div>
<div>Someone could help me?</div>
<div><br>
</div>
<div>Regards!</div>
<div><br>
</div>
<div>Happy new year!</div>
<br>
</blockquote>
</body>
</html>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;help-cfengine" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">help-=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
help-cfengine/74365b53-d992-47f0-a88f-cdd7e276d0c8%40gmail.com?utm_medium=
=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/help-cfengi=
ne/74365b53-d992-47f0-a88f-cdd7e276d0c8%40gmail.com</a>.<br />
--------------2irlgmvENu5pI2UchnXwhhGH--