eos icon indicating copy to clipboard operation
eos copied to clipboard

bash: !..: event not found

Open Danilo0120 opened this issue 8 years ago • 2 comments

~/eos$ ./cleos push action eosio.token transfer '[ "user", "tester", "25.0000 POS", "m|.....TloUH...?)p||.y.e}..X#T.\u...||Z~.z.....z......||p...hO.j....b...||5.u...~.oI.o.N*||..;.M....3...h-8||.....Z.J).|=....||......W.....4'..||.......foo.....||.^...>........`K||..."1.5.MLI8.E.|||{..A.]......n#-||E..s...v [email protected]||'Rz..:Lw...v..T.||.H......1...k..||H,..RC..l...yzF.||..6...JAZ..P....||....D....~.7c\56||F[GG-..WZ.PP$.t8||b....^.....fVT..||...{.y:.E.[.|.#t||.~...9|7........||........:..-Q../||..g.w....$h|-!..||v...v&$~p/..^I..||..J.|m" ]' -p user

bash: !..: event not found

Danilo0120 avatar Oct 22 '18 12:10 Danilo0120

You need to escape shell characters in your command line, or use the RPC API.

Also, you appear to be attempting to paste binary data as displayed by cat. You can not pass binary data on the command line without completely corrupting it. If you wish to use the command line for binary data, you'll need to encode it in some format that can be expressed in displayable characters, such as base64.

jgiszczak avatar Oct 22 '18 16:10 jgiszczak

Before I new this issue,I have use the format base64 but the system reminds me that the data include transaction beyond 256 bytes. How to issue it? @jgiszczak

Danilo0120 avatar Oct 22 '18 16:10 Danilo0120