mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 18:00:52 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
34
tldr/wiggle
Normal file
34
tldr/wiggle
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# wiggle
|
||||
|
||||
> A patch application tool resolving conflicts in patches that `patch` cannot handle.
|
||||
> Note: Wiggle forcefully applies all changes, merging when conflicts arise, and reporting unresolvable issues.
|
||||
> More information: <https://manned.org/wiggle>.
|
||||
|
||||
- Apply changes from the patch file to the original file:
|
||||
|
||||
`wiggle {{path/to/my_patch.patch}}`
|
||||
|
||||
- Apply changes to the [o]utput file:
|
||||
|
||||
`wiggle {{path/to/my_patch.patch}} -o {{path/to/output_file.txt}}`
|
||||
|
||||
- Take any changes in `file.rej` that could not have been applied and merge them into a file:
|
||||
|
||||
`wiggle --replace {{path/to/file}} {{path/to/file.rej}}`
|
||||
|
||||
- E[x]tract one branch of a patch or merge file:
|
||||
|
||||
`wiggle -x {{path/to/my_patch.patch}}`
|
||||
|
||||
- Apply a patch and save the compared words to the [o]utput file:
|
||||
|
||||
`wiggle --words {{path/to/my_word_patch.patch}} -o {{path/to/word_patched_code.c}}`
|
||||
|
||||
- Display help about the merge function:
|
||||
|
||||
`wiggle --merge --help`
|
||||
Reference in New Issue
Block a user