Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
87 user(s) are online (65 user(s) are browsing Forums)

Members: 0
Guests: 87

more...

Support us!

Headlines

 
  Register To Post  

echo and shell
Home away from home
Home away from home


See User information
On unixes to echo special characters i add \ before them.

edit: damn, can't type it on forum. In other words , is there something like \ in unixes ? I need just:

ram:> echo "aaa" >1

and 1 should have "aaa" (with those "). I tried double them, and result is aaa"" , and when tried it as on unix it just take \ as usual character.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: echo and shell
Just popping in
Just popping in


See User information
Something like this:

echo {backslash}""aaa{backslash}"" >1

Where {backslash} ist the backslash-sign

Go to top
Re: echo and shell
Home away from home
Home away from home


See User information
Still nope

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: echo and shell
Just popping in
Just popping in


See User information
@kas1e

Special characters must be escaped with a '*' character:
echo >1 "*"aaa*""

Go to top
Re: echo and shell
Home away from home
Home away from home


See User information
@Thore
Thanks, it works !

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: echo and shell
Amigans Defender
Amigans Defender


See User information

ExecSG Team Lead
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
6 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project