From: "Хихин Руслан" <ruslandh@gmail.com> To: sysadmins@lists.altlinux.org Subject: Re: [Sysadmins] присваивание команды переменной в bash Date: Fri, 15 Apr 2011 17:59:51 +0400 Message-ID: <201104151759.58406@ruslandh> (raw) In-Reply-To: <4DA84A99.4050008@mail.ru> [-- Attachment #1.1: Type: text/plain, Size: 475 bytes --] Здравствуйте Oleg В сообщении от 15 апреля 2011 Oleg написал(a): > #!/bin/sh > > > test="ls -l" > > > > exec $test Странно ./sss.sh > ssss.txt + test='ls -l' + exec ls -l -- *** А ещё говорят так (fortune): In /users3 did Kubla Kahn A stately pleasure dome decree, Where /bin, the sacred river ran Through Test Suites measureless to Man Down to a sunless C. ________________________________________________________________________ С уважением Хихин Руслан [-- Attachment #1.2: sss.sh --] [-- Type: application/x-shellscript, Size: 39 bytes --] [-- Attachment #1.3: ssss.txt --] [-- Type: text/plain, Size: 222 bytes --] итого 4 -rw-r--r-- 1 writer writer 0 Апр 15 17:58 rrr -rwxr-xr-x 1 writer writer 39 Апр 15 17:54 sss.sh -rw-r--r-- 1 writer writer 0 Апр 15 17:59 ssss.txr -rw-r--r-- 1 writer writer 0 Апр 15 17:59 tttt [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-04-15 13:59 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-04-14 13:23 ` Anton Gorlov 2011-04-14 13:32 ` Oleg 2011-04-14 13:39 ` Anton Gorlov 2011-04-15 13:39 ` Oleg 2011-04-15 13:59 ` Хихин Руслан [this message] 2011-04-15 14:31 ` Oleg 2011-04-15 15:04 ` Хихин Руслан 2011-04-15 16:35 ` Oleg 2011-04-15 17:31 ` Хихин Руслан 2011-04-15 18:03 ` Oleg 2011-04-15 19:02 ` Хихин Руслан 2011-04-15 20:45 ` Sergey Shilov 2011-04-14 13:40 ` Тимур Васюнин
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=201104151759.58406@ruslandh \ --to=ruslandh@gmail.com \ --cc=hihin@rambler.ru \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git