Skip to content

Latest commit

 

History

History
65 lines (38 loc) · 1.57 KB

File metadata and controls

65 lines (38 loc) · 1.57 KB

nodejsscriptDocs


nodejsscript / s / cat

Function: cat()

Returns a string containing the given file, or a concatenated string containing the files if more than one file is given (a new line character is introduced between each file).

Param

Files to use. Wildcard * accepted.

cat(files)

cat(files): ShellString

Returns a string containing the given file, or a concatenated string containing the files if more than one file is given (a new line character is introduced between each file).

Parameters

files: string[]

Files to use. Wildcard * accepted.

Returns

ShellString

A string containing the given file, or a concatenated string containing the files if more than one file is given (a new line character is introduced between each file).

A string containing the given file, or a concatenated string containing the files if more than one file is given (a new line character is introduced between each file).

Param

Files to use. Wildcard * accepted.

cat(files)

cat(...files): ShellString

Returns a string containing the given file, or a concatenated string containing the files if more than one file is given (a new line character is introduced between each file).

Parameters

• ...files: string[]

Returns

ShellString

Param

Files to use. Wildcard * accepted.