🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#846
From: ngn999
Date: Wed, 24 Sep 2008 06:24
26 lines
1890 bytes
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
> 2��ʲô���������ôд��
ʲô��������һ�� ":"
> 3�����һ��ǰ��Ӳ���exec����ʲô���
��֪��.����ǽ����صĶ����
> 4�����ű���û�м򵥵��д����
����ͺܼ���!
Technical Details
Message-ID: <877i9283id.fsf@home.emacser.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.glorb.com!newsgate.cuhk.edu.hk!news.cn99.com!home.emacser.com!news
References: <op.uhy15abv5u2pxgyh@yunyousihai.org>

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.glorb.com!newsgate.cuhk.edu.hk!news.cn99.com!home.emacser.com!news
From: ngn999@nospam.com
Newsgroups: cn.comp.os.linux
Subject: Re: 初手问一个脚本的小问题
Date: Wed, 24 Sep 2008 14:24:58 +0800
Organization: Bentium Ltd. (CN99)
Lines: 26
Message-ID: <877i9283id.fsf@home.emacser.com>
References: <op.uhy15abv5u2pxgyh@yunyousihai.org>
NNTP-Posting-Host: 125.220.232.24
Mime-Version: 1.0
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 8bit
X-Trace: news.cn99.com 1222237829 23319 125.220.232.24 (24 Sep 2008 06:30:29 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Wed, 24 Sep 2008 06:30:29 +0000 (UTC)
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux)
Cancel-Lock: sha1:L2kVGPlRDCD5lWFgC0+OjNM5t5g=