How to use multiple double-dash(--) in one command line

Viewed 4261

for example

ssh root@me -- cat /etc/hostname -- cat /etc/hostname

I expect it output:

me
me

but it output

me
me
cat: cat: No such file or directory

I know the double-dash means ending parsing option, why it raise cat: cat: No such file or directory

1 Answers
Related