1753474 Members
4721 Online
108794 Solutions
New Discussion юеВ

help in ksh

 
kamal_15
Regular Advisor

help in ksh

hi all
iam new in learning shell script

i face a script that i can't understand it
can any body help me?

*************** script *************
cat <
4 REPLIES 4
Alex Lavrov.
Honored Contributor

Re: help in ksh


As I understand it, it's just gonna type:

*:AC:ACCEPT:P:ac AC.conf:1:13:


Don't see any special meaning of this string ...
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Charles_151
Advisor

Re: help in ksh

Kamal

Is that script working? this is not a valid line I guess.

Charles C.
Alex Lavrov.
Honored Contributor

Re: help in ksh

Charles,
it's valid. It just sends "*:AC:ACCEPT:P:ac AC.conf:1:13:" to stdin of cat. Maybe it is part of some script that builds configuration file ... But syntax is OK
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Biswajit Tripathy
Honored Contributor

Re: help in ksh

----
cat <
:-)