<!--
{
  "availability" : [
    "macCatalyst: 14.0.0 -",
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Automator",
  "identifier" : "/documentation/Automator/AMShellScriptAction/remapLineEndings",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Automator"
    ],
    "preciseIdentifier" : "c:objc(cs)AMShellScriptAction(py)remapLineEndings"
  },
  "title" : "remapLineEndings"
}
-->

# remapLineEndings

A Boolean value that indicates whether you want automatic remapping of carriage return (`\r`) to newline (`\n`) characters in the input string.

```
var remapLineEndings: Bool { get }
```

## Discussion

The default is <doc://com.apple.documentation/documentation/Swift/false>. Override to return <doc://com.apple.documentation/documentation/Swift/true> if you want the remapping to occur.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)