Search Results

Search: Posts Made By: larsu
3,460
Posted By larsu
How do I print each extraction on a new line? ...
How do I print each extraction on a new line?

I also need to remove carriage returns in the input files.
I tried:
$_ =~ tr/\n \r// and print;
and that seem to work
3,460
Posted By larsu
Substitute with space.
Substitute with space.
3,460
Posted By larsu
Thanks, this look good! :b: But I see now...
Thanks, this look good! :b:

But I see now that I actually should include 'WORD' and '=' in the extraction. I also want to delete any line break (eol) between 'WORD' and '='.
3,460
Posted By larsu
Extract content from several txt-files
Hi!

Im trying to write a script in ksh that creates a single txt-file from specific content in several other txt-files.
From these files I want to extract all text after 'WORD' and before '=',...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 08:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy