🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.os.linux
Article #848

Re: 初手问一个脚本的小问题

#848
From: yunhai
Date: Wed, 24 Sep 2008 08:18
32 lines
2262 bytes
On Wed, 24 Sep 2008 14:24:58 +0800, <ngn999@nospam.com> wrote:

> yunhai <yunyousihaiAT@gmail.dotcom> writes:
>
>> ����ﵽ��Ч�����~/tempfs�²�����mailĿ¼���Ͱ�~/mail���
>> ���ƹ�ȥ��������opera -pd ~/tempfs������ֱ������opera -pd
>> ~/tempfs��
>>
>> ����������д�ģ�
>>
>> #!/bin/bash
>> if [-d ~/tempfs/mail ]		# ���жϲ����ڵIJ�����
>> then
>> 	cd			# ʲô��������ôд��
>> else
>> 	cp -r ~/mail ~/tempfs	
>> fi
>> opera -pd ~/tempfs &		# ǰ��Ӳ���exec��ʲô���
>>
>> �ҵ������ǣ�
>> 1�����жϲ����ڵIJ�����
> -e

������ж��ļ��İɣ�û��Ч������Ҫ���� if not exist��

>> 2��ʲô���������ôд��
> ʲô��������һ�� ":"

Ŷ�������ˣ�лл��

-- 
ʹ�� Opera �����Եĵ����ʼ��ͻ�����: http://www.opera.com/mail/
Technical Details
Message-ID: <op.uhy709075u2pxgyh@yunyousihai.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!newsgate.cuhk.edu.hk!news.cn99.com!not-for-mail
References: <op.uhy15abv5u2pxgyh@yunyousihai.org> <877i9283id.fsf@home.emacser.com>

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!newsgate.cuhk.edu.hk!news.cn99.com!not-for-mail
From: yunhai <yunyousihaiAT@gmail.dotcom>
Newsgroups: cn.comp.os.linux
Subject: Re: 初手问一个脚本的小问题
Date: Wed, 24 Sep 2008 16:18:35 +0800
Organization: Bentium Ltd. (CN99)
Lines: 32
Message-ID: <op.uhy709075u2pxgyh@yunyousihai.org>
References: <op.uhy15abv5u2pxgyh@yunyousihai.org>
 <877i9283id.fsf@home.emacser.com>
NNTP-Posting-Host: 60.180.136.109
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; delsp=yes; charset=gbk
Content-Transfer-Encoding: 8bit
X-Trace: news.cn99.com 1222244310 17143 60.180.136.109 (24 Sep 2008 08:18:30 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Wed, 24 Sep 2008 08:18:30 +0000 (UTC)
X-Face: H>i0Z|HW!UJHXHJ^^.EWI4)91&lsquPlf@5!;9Py+UcBkQM_;c<h!w@K2D_=|j}wRveVA+)2:!]63B,,noBeKnVJc%w3/-*?bYRE4}zHzo_Eb{/OMR<72]LmVcY0Vd1;2=Hl?,7$c_CrQ()%l6,U]Z$.hd=%M9OK<nO<x:+jbQ~6,IX.Ol|uiV4l"Iz(/9,b_E(zI]U@96EMV9BnVwmST{Fm+4IBdaN69xsM4N{8-4h'kl.,&*-#t}5uI2~FhA}:B{jr7XK
User-Agent: Opera Mail/9.60 (Linux)