বাশ সংস্করণে ৪.২.৪7 (১) - দয়া করে যখন আমি এখানে হর-ডকুমেন্ট থেকে আসে এমন ফর্ম্যাট পাঠ্যটি কেটেট করার চেষ্টা করি:
cat <(fmt --width=10 <<FOOBAR
(I want the surrounding parentheses to be part of the HERE-document)
(Even the preceding unbalanced parenthesis should be part of it.
FOOBAR
) # I want this paranthesis to end the process substitution.
আমি নিম্নলিখিত ত্রুটি পেয়েছি:
bash: bad substitution: no closing `)' in <(fmt --width=10 <<FOOBAR
(I want the surrounding parentheses to be part of the HERE-document)
(Even the preceding unbalanced parenthesis should be part of it.
FOOBAR
)
এছাড়াও আমি এখানে ডকুমেন্টটি উদ্ধৃত করতে চাই না, অর্থাত্ লিখি <'FOOBAR', কারণ আমি এখনও তার মধ্যে ভেরিয়েবলগুলি প্রতিস্থাপন করতে চাই।
(Evenকরেন "(Even"তখন কাজ করে। এটা একই \(Even। দেখতে পার্সিং বাগের মতো। বাশ এখনও একটি প্রসঙ্গে রয়েছে যখন তারা ব্রেসগুলি খুঁজছিল এবং এখানে ডকটি পড়ার প্রসঙ্গে এবং উভয় প্রসঙ্গই একে অপরের বিরোধিতা করে।
bashঘটনাচক্রে এটি ৪.৩ এ স্থির করা হয়েছে।
catকল দরকার ? কেন ডাকলে ছাড়বেন নাfmt?