I'm searching for a way to remove leading whitespaces and line breaks from my text.
I was successfully able to remove line breaks by using the following...
Code: Select all
call jrepl "[\r\n]" "" /m /f "input.txt" /o "output.txt"
Any assistance is greatly appreciated, thanks!
Here is an example of my text.
Code: Select all
type: client;
name: luf4;
server: luf4;
client id: \
00000004;
scheduled backup: Enabled;
comment: ;
Save operations: ;
archive services: Disabled;
schedule: Always;
statistics: elapsed = 2279805, index size (KB) = 35437,
amount used (KB) = 35437, entries = 224622;
Code: Select all
type: client; name: luf4; server: luf4; client id: \00000004; scheduled backup: Enabled; comment: ; Save operations: ; archive services: Disabled; schedule: Always; statistics: elapsed = 2279805, index size (KB) = 35437, amount used (KB) = 35437, entries = 224622;
Code: Select all
type: client;name: luf4;server: luf4;client id:00000004;scheduled backup: Enabled;comment: ;Save operations: ;archive services: Disabled;schedule: Always;statistics: elapsed = 2279805, index size (KB) = 35437,amount used (KB) = 35437, entries = 224622;