Questions tagged «pipelining»

1
如何用unix中的管道覆盖
所以我试图用管道覆盖: //reads contents of file| turns lowercase to uppercase | changes $ to # | // then attempts to overwrite original file with new version cat cutTester.txt|tr '[a-z]' '[A-Z]'|tr '$' '#' >cutTester.txt 但是当我这样做时它只是擦除文件。这是文件的内容 $first$second$third$fourth $fifth$sixth$seventh$eighth $ninth$tenth$eleventh$twelveth $thirteenth$fourthteenth$fifthteenth$sixthteenth $seventeenth$eightteenth$nineteenth$twenty $twenty-one$twenty-two$twenty-three$twenty-four
1 unix  cat  pipelining 

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.