🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3838

Re: How can I print "*" in unix shell program

#3838
From: Nils O. Selåsdal
Date: Fri, 10 May 2002 12:58
16 lines
1580 bytes
In article <abgerh$g5j$1@news1.kornet.net>, ����� wrote:
> I wanna print *
> But following script prints files in current directory
> How can I print *
> 
> [root@ns /root]# cat a.sh
> #!/bin/sh
> 
> AA="*"
 echo "$AA"

> [root@ns /root]# ./a.sh
> Desktop a.sh dnsCache.db hostsInfo.db intop_history manage nsmail ntop_pw.db
> sec
> 
> 
Technical Details
Message-ID: <slrnadngur.blc.noselasd@localhost.localdomain>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.213.112.26!newsfeed1.ulv.nextra.no!nextra.com!news2.ulv.nextra.no.POSTED!53ab2750!not-for-mail
References: <abgerh$g5j$1@news1.kornet.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fc89c,76a163ff68bd9a1d
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 105eb6,76a163ff68bd9a1d
X-Google-Attributes: gid105eb6,public
X-Google-Thread: 1012a6,76a163ff68bd9a1d
X-Google-Attributes: gid1012a6,public
X-Google-ArrivalTime: 2002-05-10 05:58:12 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.213.112.26!newsfeed1.ulv.nextra.no!nextra.com!news2.ulv.nextra.no.POSTED!53ab2750!not-for-mail
Newsgroups: comp.unix.programmer,comp.unix.shell,han.comp.os.linux.devel
From: noselasd@frisurf.no (Nils O. Selåsdal)
Subject: Re: How can I print "*" in unix shell program
References: <abgerh$g5j$1@news1.kornet.net>
Followup-To: comp.unix.programmer
Message-ID: <slrnadngur.blc.noselasd@localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: slrn/0.9.7.1 (Linux)
Lines: 16
NNTP-Posting-Host: 80.212.21.117
X-Complaints-To: news-abuse@nextra.no
NNTP-Posting-Date: Fri, 10 May 2002 14:58:03 MEST
X-Trace: news2.ulv.nextra.no 1021035483 80.212.21.117
Date: Fri, 10 May 2002 12:58:03 GMT