I agree. I'm not sure what you mean by chaining. Best to post a complete example of what you are trying.
Kirk Wolf http://dovetail.com On Sun, Jan 23, 2022, at 1:35 PM, Seymour J Metz wrote: > You need to distinguish chaining of commands in the sell from chaining of > inputs to a command. For the latter you need to know the parameter syntax for > the command you're using. > > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > ________________________________________ > From: IBM Mainframe Discussion List [[email protected]] on behalf of > ITschak Mugzach [[email protected]] > Sent: Sunday, January 23, 2022 7:08 AM > To: [email protected] > Subject: Chaining unix commands > > I am trying to chain some commands by using a primary command -exec > subcommand1; subcommand2; \; > > for some reason, uss doesn't see the ending (slashed) semicolon. In order > to ignore the confusion, I also tried > primary command -exec subcommand1 && subcommand2 && ... &&\; with no > success. Any ideas? > > ITschak Mugzach > *|** IronSphere Platform* *|* *Information Security Continuous Monitoring > for z/OS, x/Linux & IBM I **| z/VM coming soon * > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > Kirk Wolf Dovetailed Technologies http://dovetail.com ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
