TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:tmss10singlespace

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cli:tmss10singlespace [2017/06/17 19:47] – [Description] Gerard Nicolcli:tmss10singlespace [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== TMSS10SingleSpace ====== ====== TMSS10SingleSpace ======
 Convert a file of words into a file delimited by a single delimiter. Convert a file of words into a file delimited by a single delimiter.
-====== Synopsis ======+===== Synopsis =====
 ''TMSS10SingleSpace [-d delimiter] [-g group]'' ''TMSS10SingleSpace [-d delimiter] [-g group]''
-====== Description ======+===== Description =====
 TMSS10SingleSpace will read in a file on ''stdin'' and ensure the number of spaces between each word TMSS10SingleSpace will read in a file on ''stdin'' and ensure the number of spaces between each word
 is no more than one space and optionally replace the single space with an alternative delimiter then write is no more than one space and optionally replace the single space with an alternative delimiter then write
 the record to ''stdout''. the record to ''stdout''.
-====== Options ======+===== Options =====
  
 The options which apply to the TMSS10SingleSpace command are: The options which apply to the TMSS10SingleSpace command are:
--d single character that is to be used as a delimiter. If this argument is not passed the delimiter will +  * ''-d''single character that is to be used as a delimiter. If this argument is not passed the delimiter will be a single space. 
-be a single space. +  * ''-g''filter value that is to be matched against each element that may have embedded Strings so that the String is considered a single element. 
--g filter value that is to be matched against each element that may have embedded strings so that the +<note tip>
-string is considered a single element. +
-====== Notes ======+
 When using the group argument the program will execute code that is highly recursive and this When using the group argument the program will execute code that is highly recursive and this
 will slow the program down considerably. This is probably still preferable to writing a custom will slow the program down considerably. This is probably still preferable to writing a custom
 pre-processor, but where the input file is large and CPU consumption is expensive or time is pre-processor, but where the input file is large and CPU consumption is expensive or time is
 sensitive a pre-processor may be a better option. sensitive a pre-processor may be a better option.
-====== Exit Status ====== +</note> 
- +===== Exit Status =====
-zero Program has ended successfully. +
-non-zero Program has not ended successfully. +
-====== Environment ======+
  
 +  * **zero** Program has ended successfully.
 +  * **non-zero** Program has not ended successfully.
 +===== Environment =====
 This program does not use any environmental variables. This program does not use any environmental variables.
-====== Examples ======+===== Files ===== 
 +  * ''stdout'' Output Reports. 
 +  * ''stderr'' Diagnostic messages. 
 +  * ''stdin'' Program input. 
 +===== Examples =====
  
-Example 1. TMSS10SingleSpace: Replace multiple spaces with a comma and group +Replace multiple spaces with a comma and group times. 
-times.+<code>
 TMSS10SingleSpace -d "," -g "??/??/???? ??:??" TMSS10SingleSpace -d "," -g "??/??/???? ??:??"
-Files +</code> 
-stdout Output Reports. + 
-TMSS10SingleSpace +--> Changelog 
-2 + 
-stderr Diagnostic messages. +[filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10SingleSpace] 
-stdin Program input.+ 
 +<--
cli/tmss10singlespace.1497728860.txt.gz · Last modified: 2025/01/21 22:07 (external edit)