test
: Use POSIX-compliant example for equals comparison (#11728)
* [: use posix-compliant example for equals comparison the previous example worked fine for bash, but some other shells (zsh, in my case) will not work when using "==" for comparison. the posix spec only requires "=", so I think it makes a little more sense to use that in the example. * test: use posix-compliant example for equals comparison the previous example worked fine for bash, but some other shells (zsh, in my case) will not work when using "==" for comparison. the posix spec only requires "=", so I think it makes a little more sense to use that in the example.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
- পরীক্ষা করুন যদি দেওয়া ভেরিয়েবল নির্দিষ্ট স্ট্রিং এর সমান/সমান না হয়:
|
||||
|
||||
`[ "${{ভেরিয়েবল}}" {{==|!=}} "{{স্ট্রিং}}" ]`
|
||||
`[ "${{ভেরিয়েবল}}" {{=|!=}} "{{স্ট্রিং}}" ]`
|
||||
|
||||
- পরীক্ষা করুন যদি দেওয়া ভেরিয়েবল [ই]কুয়াল/[ন]ট [ই]কুয়াল/[জি]টে [ল]েস [ট]হ্যান/[জি]টে [ই]কুয়াল/[ল]েস ট্রু থেকে/[ল]েস থেকে বা সমান নির্দিষ্ট সংখ্যায়:
|
||||
|
||||
|
Reference in New Issue
Block a user