Issue with Command Line arguments which got spaces in it

前端 未结 5 1931
心在旅途
心在旅途 2020-11-29 09:41

I have a Java program which I\'m executing in a Linux environment through a bash script.

This is my simple bash script, which accepts a String.

#!/bi         


        
5条回答
  •  萌比男神i
    2020-11-29 10:20

    The arguments are handled by the shell , so any terminal settings should not affect this. You just need to have quoted argument and it should work.

提交回复
热议问题