how to write a script to remove C fileswill tail with piping read whole file?Pulling lines n to m from list...

What does `idem` mean in the VIM docs?

Is it possible to change an API response using the host file?

Convert a string of digits from words to an integer

Can I exile my opponent's Progenitus/True-Name Nemesis with Teferi, Hero of Dominaria's emblem?

Is population size a parameter, or sample size a statistic?

"I will not" or "I don't" as an answer for negative orders?

What happens to a net with the Returning Weapon artificer infusion after it hits?

What was Han searching through when he found where Lando was?

How deep is the liquid in a half-full hemisphere?

Can I build a half bath without permits?

Delete n lines skip 1 line script

Can RPi4 run simultaneously on dual band (WiFi 2.4GHz / 5GHz)?

Smallest PRIME containing the first 11 primes as sub-strings

Assembly of PCBs containing a mix of SMT and thru-hole parts?

Beyond Futuristic Technology for an Alien Warship?

How do we know neutrons have no charge?

Speed and Velocity in Russian

Maximize assigned tasks to each worker

Why is Pelosi so opposed to impeaching Trump?

Why does Captain Marvel in the MCU not have her sash?

How many stack cables would be needed if we want to stack two 3850 switches

Is determiner 'a' needed here?

How to say "respectively" in German when listing (enumerating) things

Knights and Knaves: What does C say?



how to write a script to remove C files


will tail with piping read whole file?Pulling lines n to m from list of files foundProblem with grep on multiple files and not getting desired outputtail: illegal option — -53r error while using head and tail on same file in single scriptdoes head input > output copy all invisible characters to the new file?why does it take so long to read the top few lines of my file?Alternative to 'head' that doesn't exit?How to pass the contents of a file to an option/parameter of a functionWhy does head; tail on a large file sometimes take a long time and sometimes not?How can I watch the 17th (or last, if less) line in files of a folder?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















when the script is run with no arguments supplied, it needs to pick up each C file and list the first 10 lines. how to promp deletion of the file.










share|improve this question







New contributor



user374023 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




























    0















    when the script is run with no arguments supplied, it needs to pick up each C file and list the first 10 lines. how to promp deletion of the file.










    share|improve this question







    New contributor



    user374023 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      0












      0








      0








      when the script is run with no arguments supplied, it needs to pick up each C file and list the first 10 lines. how to promp deletion of the file.










      share|improve this question







      New contributor



      user374023 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      when the script is run with no arguments supplied, it needs to pick up each C file and list the first 10 lines. how to promp deletion of the file.







      gcc head






      share|improve this question







      New contributor



      user374023 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      user374023 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      user374023 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 46 mins ago









      user374023user374023

      1




      1




      New contributor



      user374023 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      user374023 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



























          0






          active

          oldest

          votes














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });







          user374023 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded
















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f543357%2fhow-to-write-a-script-to-remove-c-files%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          user374023 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded

















          user374023 is a new contributor. Be nice, and check out our Code of Conduct.













          user374023 is a new contributor. Be nice, and check out our Code of Conduct.












          user374023 is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f543357%2fhow-to-write-a-script-to-remove-c-files%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...