awk - pass one command to another one on the terminal -


नीचे दिए गए कोड को देखें

  awk '{print $ 1}' grep _Y myFile < / Code>  

मैं grep _Y myFile के परिणाम को awk कमांड पास करना चाहता हूं उस रेखा को कैसे सही ढंग से लिखना

क्यों नहीं एक बार में सब कुछ करें:

  awk '/ _y / {प्रिंट $ 1} 'myFile    

Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

c# - How to clone a HttpRequestMessage when the original request has Content? -

split - php explode string with Uppercase if lowercase letter exists before it without space -