Search Results

Search: Posts Made By: bash_
1,435
Posted By bash_
Of course!!!! Thanks RudiC. I'm new to...
Of course!!!! Thanks RudiC.
I'm new to scripting in bash, just didn't see that semicolon.

The entire script is now working!

Thanks RudiC and cjcox!
1,435
Posted By bash_
I got it all right now, but the output file is...
I got it all right now, but the output file is empty...

#!/bin/bash
path="$1"

find "$1" -type f -name "*.html" -o -name "*.htm" | while read -r filename; do
echo -e...
1,435
Posted By bash_
Thank you cjcox!! Now I have the saving...
Thank you cjcox!!

Now I have the saving problem. It won't save the file with the new filename.
If the original filename is index.html the new filename should be index.html_nobody.

I have the...
1,435
Posted By bash_
Help with sed-script
Hi!

I really need some help and feedback with my sed-script below.

I want to find all HTML files and then remove everything before <body> and everything after </body>, including both tags. When...
Showing results 1 to 4 of 4

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