Data inside a script



Hi,
Is there any way to put data inside a script, to avoid create a data
file, like below ?

while read fruit
do
..
done < /usr/fruits

cat fruits
apple
banana
strawberry
.



Relevant Pages

  • Chart printing automation - help!
    ... I am trying to fiqure out if there is way (perhaps by script or macro) ... The chart showing the ... quantity of each fruit for each month. ...
    (microsoft.public.access.modulesdaovba)
  • chart printing automation
    ... I am trying to fiqure out if there is way (perhaps by script or macro) ... The chart showing the ... quantity of each fruit for each month. ...
    (microsoft.public.access.modulesdaovba)
  • form printing automation
    ... I am trying to fiqure out if there is way (perhaps by script or macro) ... The chart showing the ... quantity of each fruit for each month. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Running a VB Script
    ... use the Microsoft Script Control to bring the instance of the script into the ... VB prog. ...
    (microsoft.public.vb.general.discussion)
  • Re: print out each letter of a word
    ... Could it be an indentation error? ... see anything wrong with the script except the value of fruit is ... missing. ... if fruit is a string, it should work like a charm. ...
    (comp.lang.python)