Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 918 Bytes

UniqFunction.md

File metadata and controls

42 lines (23 loc) · 918 Bytes

nodejsscriptDocs


nodejsscript / s / UniqFunction

Interface: UniqFunction()

UniqFunction(options, input, output?): ShellString

Filter adjacent matching lines from input.

Parameters

options: string

Available options: - -i: Ignore case while comparing - -c: Prefix lines by the number of occurrences - -d: Only print duplicate lines, one for each group of identical lines

input: string

output?: string

Returns

ShellString

UniqFunction(input, output?): ShellString

Filter adjacent matching lines from input.

Parameters

input: string

output?: string

Returns

ShellString