Skip to content

Latest commit

 

History

History
78 lines (56 loc) · 1.49 KB

Test-FinalNewline.md

File metadata and controls

78 lines (56 loc) · 1.49 KB
external help file Module Name online version schema
Detextive.dll-Help.xml
Detextive
2.0.0

Test-FinalNewline

SYNOPSIS

Returns true if a file ends with a newline as required by the POSIX standard for text files.

SYNTAX

Test-FinalNewline [-Path] <String> [-Strict] [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1

Test-FinalNewline README.md
True

PARAMETERS

-Path

The file to test.

Type: String
Parameter Sets: (All)
Aliases: FullName

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Strict

{{ Fill Strict Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Any object with a Path or FullName property to use for a file location.

OUTPUTS

System.Boolean indicating that the file ends with a final newline.

NOTES

RELATED LINKS