Unix script won't executeAugeas in shell scriptscripted pdf code reviewcp doesn't work in script but works in...

When should we use dependency injection (C#)

No point shuffling, just pick your cards

Phrase origin: "You ain't got to go home but you got to get out of here."

Why did moving the mouse cursor cause Windows 95 to run more quickly?

Term for a character that only exists to be talked to

My mother co-signed for my car. Can she take it away from me if I am the one making car payments?

Use real text instead of lipsum in moderncv quote alignment

How can solar sailed ships be protected from space debris?

Is my background sufficient to start Quantum Computing

Why do the three workers have to go inside the power plant again?

Is there any way for a Half-Orc Sorcerer to get proficiency with a heavy weapon?

Sleepy tired vs physically tired

What caused the flashes in the video footage of Chernobyl?

Are the plates of a battery really charged?

How can I know (without going to the station) if RATP is offering the Anti Pollution tickets?

Language Selector

Are there advantages in writing by hand over typing out a story?

Is it possible to obtain the address of the 'this' pointer?

Who are the police in Hong Kong?

what is the meaning of "stock" dilution on the Massive Dev Chart Website?

What is a "tittering order"?

Is it possible that Curiosity measured its own methane or failed doing the spectrometry?

"Best practices" for formulating MIPs

How might boat designs change in order to allow them to be pulled by dragons?



Unix script won't execute


Augeas in shell scriptscripted pdf code reviewcp doesn't work in script but works in terminalSubtract floating numbers in shell scriptBash will not execute system command in Perl scriptRunning .sh Script With Sudo Results In Different OutputExecuting command used in bash scriptdifferent results on terminal vs qsub submissionUbuntu for Windows — Can't open PDF files via xdg-openUNIX script is unresponsive?






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







-1















I'm getting an error when trying to run
$1 cmd="script -c ~/bin/lab??.out"
out="asps =A fill -C -E -g -o - ~/bin/csc101-labq??-q??.sh ~/bin/lab??.out"
adobe="a2ps -A fill -C -E -g -o - ~/bin/csc101-lab??-q??.sh ~/bin/lab??.out | ps2pdf - /opt/pub/csc225/submit/csc101--lab??.pdf"



for file in $1 [cmd="script -c ~/bin/lab??.out"]
do
if [$file script -c ~/bin/lab??.out] then
[a2ps -A fill -C -E -g -o - ~/bin/csc101-lab??-q??.sh ~/bin/lab??.out]
[a2ps -A fill -C -E -g -o - ~/bin/csc101-lab??-q??.sh ~/bin/lab??.out | ps2pdf - /opt/pub/csc101/submit/csc101--lab??.pdf]
fi
done










share|improve this question







New contributor



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


























    -1















    I'm getting an error when trying to run
    $1 cmd="script -c ~/bin/lab??.out"
    out="asps =A fill -C -E -g -o - ~/bin/csc101-labq??-q??.sh ~/bin/lab??.out"
    adobe="a2ps -A fill -C -E -g -o - ~/bin/csc101-lab??-q??.sh ~/bin/lab??.out | ps2pdf - /opt/pub/csc225/submit/csc101--lab??.pdf"



    for file in $1 [cmd="script -c ~/bin/lab??.out"]
    do
    if [$file script -c ~/bin/lab??.out] then
    [a2ps -A fill -C -E -g -o - ~/bin/csc101-lab??-q??.sh ~/bin/lab??.out]
    [a2ps -A fill -C -E -g -o - ~/bin/csc101-lab??-q??.sh ~/bin/lab??.out | ps2pdf - /opt/pub/csc101/submit/csc101--lab??.pdf]
    fi
    done










    share|improve this question







    New contributor



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






















      -1












      -1








      -1








      I'm getting an error when trying to run
      $1 cmd="script -c ~/bin/lab??.out"
      out="asps =A fill -C -E -g -o - ~/bin/csc101-labq??-q??.sh ~/bin/lab??.out"
      adobe="a2ps -A fill -C -E -g -o - ~/bin/csc101-lab??-q??.sh ~/bin/lab??.out | ps2pdf - /opt/pub/csc225/submit/csc101--lab??.pdf"



      for file in $1 [cmd="script -c ~/bin/lab??.out"]
      do
      if [$file script -c ~/bin/lab??.out] then
      [a2ps -A fill -C -E -g -o - ~/bin/csc101-lab??-q??.sh ~/bin/lab??.out]
      [a2ps -A fill -C -E -g -o - ~/bin/csc101-lab??-q??.sh ~/bin/lab??.out | ps2pdf - /opt/pub/csc101/submit/csc101--lab??.pdf]
      fi
      done










      share|improve this question







      New contributor



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











      I'm getting an error when trying to run
      $1 cmd="script -c ~/bin/lab??.out"
      out="asps =A fill -C -E -g -o - ~/bin/csc101-labq??-q??.sh ~/bin/lab??.out"
      adobe="a2ps -A fill -C -E -g -o - ~/bin/csc101-lab??-q??.sh ~/bin/lab??.out | ps2pdf - /opt/pub/csc225/submit/csc101--lab??.pdf"



      for file in $1 [cmd="script -c ~/bin/lab??.out"]
      do
      if [$file script -c ~/bin/lab??.out] then
      [a2ps -A fill -C -E -g -o - ~/bin/csc101-lab??-q??.sh ~/bin/lab??.out]
      [a2ps -A fill -C -E -g -o - ~/bin/csc101-lab??-q??.sh ~/bin/lab??.out | ps2pdf - /opt/pub/csc101/submit/csc101--lab??.pdf]
      fi
      done







      bash






      share|improve this question







      New contributor



      Shorty 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



      Shorty 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



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








      asked 10 mins ago









      ShortyShorty

      1




      1




      New contributor



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




      New contributor




      Shorty 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/3.0/"u003ecc by-sa 3.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
          });


          }
          });






          Shorty 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%2f527961%2funix-script-wont-execute%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








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










          draft saved

          draft discarded


















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













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












          Shorty 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%2f527961%2funix-script-wont-execute%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...