Solving issues in software development
Showing posts with label
cat
.
Show all posts
Showing posts with label
cat
.
Show all posts
Friday, 26 October 2012
Put file content into a variable
Linux
filetext=`cat printme`
echo "$filetext"
NOTE:
note the
`
char.
This will read the file printme and will assign its text to the variable filetext
Older Posts
Home
Subscribe to:
Posts (Atom)