textutil
various text utilities
Overview
Design
- Super Type
- Managed-Entity
| Role | Abstract. (Objects cannot be created.) |
| Instance Names | Unique |
| Notification | false |
| Template Directory | |
| Data View | Children, proximity: 1 |
| Logger Name | textutil |
Constraints
None
Attributes
None
Commands
cat
concatenate the file
static: This command can be run outside of an object context.
- Usage
- cat [-dir <>] -files <>
Options
| Option | Description |
|---|---|
| dir | dir name |
| files | file names |
checksum
checksum a file
static: This command can be run outside of an object context.
- Usage
- checksum [-algorithm <MD5>] [-createfile] -file <>
Options
| Option | Description |
|---|---|
| algorithm | Specifies the algorithm to be used to compute the checksum. Defaults to MD5. Other popular algorithms like SHA may be used as well. |
| createfile | save the checksum to file |
| file | file name |
head
display first lines of a file
static: This command can be run outside of an object context.
- Usage
- head [-count <10>] -file <>
Options
| Option | Description |
|---|---|
| count | line count |
| file | file name |
nl
show file content with line numbers
static: This command can be run outside of an object context.
- Usage
- nl -file <>
Options
| Option | Description |
|---|---|
| file | file name |
sort
sort file
This is a placeholder implementation. It currently shells out if it is a unix OS
static: This command can be run outside of an object context.
- Usage
- sort -file <>
Options
| Option | Description |
|---|---|
| file | file name |
tail
display last lines of a file
static: This command can be run outside of an object context.
- Usage
- tail [-count <10>] -file <>
Options
| Option | Description |
|---|---|
| count | line count |
| file | file name |
uniq
uniq file
This is a placeholder implementation. It currently shells out if it is a unix OS
static: This command can be run outside of an object context.
- Usage
- uniq -file <>
Options
| Option | Description |
|---|---|
| file | file name |
wc
ord, line, character, and byte count
This is a placeholder implementation. It currently shells out if it is a unix OS
static: This command can be run outside of an object context.
- Usage
- wc [-bytes] [-chars] -file <> [-lines] [-words]
Options
| Option | Description |
|---|---|
| bytes | number of bytes in file |
| chars | number of chars in file |
| file | file name |
| lines | number of lines in file |
| words | number of words in file |


