Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
124 user(s) are online (74 user(s) are browsing Forums)

Members: 4
Guests: 120

clint, nbache, NinjaCyborg, trixie, 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
Pegasos2
X5000
X1000
A1222
Sam 440/460
Classic PowerPC Amiga
WinUAE emulation
Qemu emulation
Total Votes: 126
The poll will close at 2025/12/1 12:00
2 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project