🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3837

How can I print "*" in unix shell program

#3837
From: �����
Date: Fri, 10 May 2002 12:52
12 lines
1461 bytes
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: <abgerh$g5j$1@news1.kornet.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.dacom.co.kr!news.kigam.re.kr!feeder.kornet.net!news1.kornet.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc89c,76a163ff68bd9a1d,start
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 105eb6,76a163ff68bd9a1d,start
X-Google-Attributes: gid105eb6,public
X-Google-Thread: 1012a6,76a163ff68bd9a1d,start
X-Google-Attributes: gid1012a6,public
X-Google-ArrivalTime: 2002-05-10 05:52:36 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.dacom.co.kr!news.kigam.re.kr!feeder.kornet.net!news1.kornet.net!not-for-mail
From: "�����" <myunggyu@hotmail.com>
Newsgroups: comp.unix.programmer,comp.unix.shell,han.comp.os.linux.devel
Subject: How can I print "*" in unix shell program
Date: Fri, 10 May 2002 21:52:35 +0900
Organization: Korea Telecom
Lines: 14
Message-ID: <abgerh$g5j$1@news1.kornet.net>
NNTP-Posting-Host: 211.216.160.214
X-Trace: news1.kornet.net 1021034161 16563 211.216.160.214 (10 May 2002 12:36:01 GMT)
X-Complaints-To: usenet@feeder.kornet.net
NNTP-Posting-Date: Fri, 10 May 2002 12:36:01 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000