We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2015-04-28 18:21:40 +0200

[bug] only formatted incorrectly

Following up on https://together.jolla.com/question/2335/code-in-answers-is-formatted-incorrectly/

with issues of \ in general but especially in lists

Formatting with leading spaces (not possible in lists)

 sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with ` sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <code> sed -i "/nemo\\devicelock\\maximum_attempts=/c\nemo\\devicelock\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <pre><code>

sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

[bug] only formatted incorrectlyincorrectly in list items even with

Following up on https://together.jolla.com/question/2335/code-in-answers-is-formatted-incorrectly/

with issues of \ in general but especially in lists

Formatting with leading spaces (not possible in lists)

 sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with ` sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <code> sed -i "/nemo\\devicelock\\maximum_attempts=/c\nemo\\devicelock\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <pre><code>

sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <pre><code> in a list item 1.

sed -i "/nemo\\devicelock\\maximum_attempts=/c\nemo\\devicelock\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

[bug] formatted incorrectly in list items even with

Following up on https://together.jolla.com/question/2335/code-in-answers-is-formatted-incorrectly/

with issues of \ in general but especially in lists

Formatting with leading spaces (not possible in lists)

 sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with ` sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <code> sed -i "/nemo\\devicelock\\maximum_attempts=/c\nemo\\devicelock\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <pre><code>

sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <pre><code> in a list item 1.

sed -i "/nemo\\devicelock\\maximum_attempts=/c\nemo\\devicelock\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

[bug] formatted incorrectly in list items even with

Following up on https://together.jolla.com/question/2335/code-in-answers-is-formatted-incorrectly/

with issues of \ in general but especially in lists

Formatting with leading spaces (not possible in lists)

 sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with ` sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <code> sed -i "/nemo\\devicelock\\maximum_attempts=/c\nemo\\devicelock\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <pre><code>

sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <pre><code> in a list item 1. item

  1. sed -i "/nemo\\devicelock\\maximum_attempts=/c\nemo\\devicelock\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

[bug] formatted incorrectly in list items even with

Following up on https://together.jolla.com/question/2335/code-in-answers-is-formatted-incorrectly/

with issues of \ in general but especially in lists

Standard

Formatting with leading spaces (not possible in lists)

 sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with ` sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <code> sed -i "/nemo\\devicelock\\maximum_attempts=/c\nemo\\devicelock\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <pre><code>

sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

List items

Formatting with ` in a list item

  1. sed -i "/nemo\\\devicelock\\\maximum_attempts=/c\nemo\\\devicelock\\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <code> in a list item

1. sed -i "/nemo\\devicelock\\maximum_attempts=/c\nemo\\devicelock\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf

Formatting with <pre><code> in a list item

  1. sed -i "/nemo\\devicelock\\maximum_attempts=/c\nemo\\devicelock\\maximum_attempts=-1" /mnt/usr/share/lipstick/devicelock/devicelock_settings.conf