Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Question Regarding to Eval Function

scmuser created the topic: question regarding to eval function

I have one question regarding to eval function. I know eval function is use for error checking but I am not able to understand below line.

eval \'exec perl -S $0 ${1+\"$@\"}\' if 0; $0

for script name $@ set if error occur

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x