Search Results

Search: Posts Made By: Trichopterus
3,483
Posted By Trichopterus
ok its working now. thanks everyone!
ok its working now. thanks everyone!
3,483
Posted By Trichopterus
yes i roughly understand it, and i'm running it...
yes i roughly understand it, and i'm running it on cygwin so i'm not too bothered about any dangers. I want to encrypt or obfuscate stuff because somebody said to me that I won't be able to. I know...
3,483
Posted By Trichopterus
thanks for all the help, I've skipped out all the...
thanks for all the help, I've skipped out all the fifo stuff and now have this:

#!/bin/sh
tr 'a-zA-Z' "some-encryption-key" <<EOF_EOF | sh /dev/stdin |
#!/ova/fu
*encrypted script goes here*...
3,483
Posted By Trichopterus
Encrypted script not working
I've encrypted a script in rot-13. When executed, I want the script to decrypt into a temporary file then run itself, and when it's exited then delete the temporary file.

so at the moment I have...
5,872
Posted By Trichopterus
thanks, it works. how would I fix the same...
thanks, it works. how would I fix the same problem in sed though?

sed '/text/,/newtext/ d' filename > filename

ends up deleting everything in the file.

echo `sed '/text/,/newtext/ d'...
5,872
Posted By Trichopterus
tr and sed remove spaces. how to stop this?
if the answer is obvious, sorry, I'm new here.

anyway, I'm using tr to encrypt with rot-13:
echo `cat $script | tr 'a-zA-Z' 'n-za-mN-ZA-M'` > $script

it works, but it removes any consecutive...
Showing results 1 to 6 of 6

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