[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gbs3 fails with ://


On Mon, 22 Apr 2024 at 04:58, Bruce Steers <bsteers4@xxxxxxxxx> wrote:

> This has bugged me a few times.
> using file:// or http:// the : turns into a linefeed when gbs3 is piped
> Is it me doing something wrong or is it a bug?
>
> echo 'Print "http//www.there"'| gbs3
> http//www.there
>
> echo 'Print "http://www.there";'| gbs3
> # Gambas Project File 3.0
> Title=Gambas Script
> Startup=MMain
> Vendor=Ordinary
> Version=0.0.1
> License=General Public License 2.0
>
> # Gambas module file : MMain:4:2: Non terminated string
>
>     1 :' Gambas module file
>     2 :
>     3 :Public Sub main()
>     4*:Print "http
> //www.there"
>         ^ Non terminated string
>     5 :End
>     6 :
>     7 :
>
> Respects
> BruceS
>
Aah i discovered this...
echo 'Print "file://www.there"'| gbs3 -

works okay if i add the dash -

I'll use the dash if i need it :)

Respects

Follow-Ups:
Re: gbs3 fails with ://brian <brian@xxxxxxxxxxxxxxxx>
Re: gbs3 fails with ://Brian G <brian@xxxxxxxxxxxxxxxx>
References:
gbs3 fails with ://Bruce Steers <bsteers4@xxxxxxxxx>