First  |  Prev |  Next  |  Last
Pages: 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
Question: add a CC list to `mail` command
Hi, folks: I want to send an email to a bunch of people with the mail CC list, the list is not small and is expecting frequently change in the future. so I hope to maintain this list in a text file with one email per line.i.e.: bash~ cat emails.lst user1(a)example.com user2(a)example.com user3(a)example.com ......... 15 Mar 2010 19:28
Set a variable if unset or null previously
I work on a project which has this bit of code: ${gapver:=$SAGE_ROOT/spkg/standard/newest_version gap} GAP0=`$gapver` SAGE_ROOT will be an absolute path, so $SAGE_ROOT/spkg/standard/ newest_version is a program which takes an argument which in this case is "gap". Someone has said: "The meaning of ':=' t... 13 Apr 2010 09:26
read multiple fields separated by : and fields separated by , in loop stored in $var
Chimu <echimu(a)gmail.com> writes: On Mar 13, 7:09 pm, Ben Bacarisse <ben.use...(a)bsb.me.uk> wrote: Chimu <ech...(a)gmail.com> writes: I got data in $x separated by :, <snip> x="tab1,c,1,3,db1:tab2,d,21,13,db45:tab12,t,11,16,db4" output Data feed: tab1 c 1 3 db1 Data feed: tab2 d ... 13 Mar 2010 10:50
read multiple fields separated by : and fields separated by , in loop stored in $var
On Mar 13, 7:09 pm, Ben Bacarisse <ben.use...(a)bsb.me.uk> wrote: Chimu <ech...(a)gmail.com> writes: I got data in $x separated by :, further each field has 4 values and i want get those. So i come with IFS and read code Input x="tab1,c,1,3,db1:tab2,d,21,13,db45:tab12,t,11,16,db4" output ... 13 Mar 2010 09:44
read multiple fields separated by : and fields separated by , in loop stored in $var
Chimu <echimu(a)gmail.com> writes: I got data in $x separated by :, further each field has 4 values and i want get those. So i come with IFS and read code Input x="tab1,c,1,3,db1:tab2,d,21,13,db45:tab12,t,11,16,db4" output Data feed: tab1 c 1 3 db1 Data feed: tab2 d 21 13 db45 Data feed: ab1... 13 Mar 2010 09:44
read multiple fields separated by : and fields separated by , in loop stored in $var
I got data in $x separated by :, further each field has 4 values and i want get those. So i come with IFS and read code Input x="tab1,c,1,3,db1:tab2,d,21,13,db45:tab12,t,11,16,db4" output Data feed: tab1 c 1 3 db1 Data feed: tab2 d 21 13 db45 Data feed: ab12 t 11 16 db4 my code so far ~~~~~~~~~~ while IF... 15 Mar 2010 07:52
How to determine integer?
Is there any to determine whether a string is a integer or not? For example, read s if [ ... ]; then do something else do another fi -- cogito ergo sum! ... 23 Mar 2010 22:55
Parsing "for" clause
According to formal shell grammar http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html the "for" clause is defined by following productions: for_clause : For name linebreak do_group | For name linebreak in sequential_sep do_group | For name lin... 13 Mar 2010 08:38
how to automatically run a script as long as an input file is available
Kun Liu <royliuk(a)hotmail.com> writes: I need to write a shell script (or perl script if possible) to do the following: Every day starting from 10:00am, the shell script should periodically check if an input file has been created by another process. If the file is not created yet, nothing happens. A... 12 Mar 2010 09:24
how to automatically run a script as long as an input file is available
Hi, I need to write a shell script (or perl script if possible) to do the following: Every day starting from 10:00am, the shell script should periodically check if an input file has been created by another process. If the file is not created yet, nothing happens. As long as the file has been created, the she... 12 Mar 2010 13:54
First  |  Prev |  Next  |  Last
Pages: 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44