TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: SEAN RIMA
from: MARK LEWIS
date: 2020-06-29 10:22:00
subject: Outbound Report

  Re: Outbound Report
  By: mark lewis to Sean Rima on Sun Jun 28 2020 21:33:51


 SR>> I am using 18.x on the fiodnet PC and 20.x on the laptop and both
 SR>> gave the same error

 ml> interesting... i'll post you a little test script later... i'd like
 ml> to see the output of it, please... i gotta write it first, though ;)

ok, i think i figured out the problem... please try this script and post back
the output...

----->8 snip 8<-----
#!/bin/bash

printf "\n"
printf "%s\n" "$(bash --version | egrep -e 'bash')"
printf "%s\n" "$(uname -a)"
printf "\n"
printf "test1 - replace \"^..\" with \"myNewPath\"\n"
testvar="^../SomePath/aSubPath"
printf "test1 input : \"%s\"\n" "$testvar"
printf "test1 output: \"%s\"\n" "${testvar/'^..'/myNewPath}"
printf "\n"
printf "test2 - strip \"^\"\n"
testvar="^/SomePath/aSubPath"
printf "test2 input : \"%s\"\n" "$testvar"
printf "test2 output: \"%s\"\n" "${testvar/'^'}"
printf "\n"
printf "test3 - strip \"-\"\n"
testvar="-/SomePath/aSubPath"
printf "test3 input : \"%s\"\n" "$testvar"
printf "test3 output: \"%s\"\n" "${testvar/'-'}"
printf "\n"
printf "test4 - strip \"#\"\n"
testvar="#/SomePath/aSubPath"
printf "test4 input : \"%s\"\n" "$testvar"
printf "test4 output: \"%s\"\n" "${testvar/'#'}"
printf "\n"
printf "test5 - strip \"@\"\n"
testvar="@/SomePath/aSubPath"
printf "test5 input : \"%s\"\n" "$testvar"
printf "test5 output: \"%s\"\n" "${testvar/'@'}"
printf "\n"
printf "test6 - strip \"~\"\n"
testvar="~/SomePath/aSubPath"
printf "test6 input : \"%s\"\n" "$testvar"
printf "test6 output: \"%s\"\n" "${testvar/'~'}"
printf "\n"
printf "test7 - strip \"!\"\n"
testvar="!/SomePath/aSubPath"
printf "test7 input : \"%s\"\n" "$testvar"
printf "test7 output: \"%s\"\n" "${testvar/'!'}"
printf "\n"

----->8 snip 8<-----

thanks!


)\/(ark
--- SBBSecho 3.11-Linux
* Origin: SouthEast Star Mail HUB - SESTAR (1:3634/12)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.