bash - Adding header to an ascii catalogue -


मैं ascii फ़ाइल को bash script using a header जोड़ना चाहूंगा / कोड>। अस्थायी टेक्स्ट फ़ाइल के बिना यह करने का सबसे छोटा तरीका क्या है?

आप इस तरह से कोशिश कर सकते हैं

  sed '1 I \' हैडर फ़ाइलनाम  

उदाहरण:

  सीक 5 |    

आउटपुट:

  शीर्ष 1 2 3 4 5   

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -