Skip to content

Latest commit

 

History

History
69 lines (41 loc) · 1.59 KB

File metadata and controls

69 lines (41 loc) · 1.59 KB

nodejsscriptDocs


nodejsscript / s / uniq

Function: uniq()

Filter adjacent matching lines from input.

Param

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

uniq(options, input, output)

uniq(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

Param

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

uniq(input, output)

uniq(input, output?): ShellString

Filter adjacent matching lines from input.

Parameters

input: string

output?: string

Returns

ShellString

Param

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