2

I found that it happens because it splits entered arguments. But I am creating a program that encrypts string and it encrypted "test" as |m{|. But when I switch to decryption mode that thing happens. Any solution ?

wjandrea
  • 14,504

1 Answers1

5

The > comes from bash's $PS2 variable. man bash says:

PS2    The value of this parameter is expanded as with PS1 and used as the secondary prompt string.  The default is ``> ''.

I often see > when I have an unmatched quote (") or apostrophe ('), or some other input that bash views as incomplete.

waltinator
  • 37,856