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

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -