Article 5EFFV pass character string from C into bash script

pass character string from C into bash script

by
mike acker
from LinuxQuestions.org on (#5EFFV)
Given:
I'm running a bash script

within the script I need to run a C tool that will return a character string

the tool is C: get_text_from_file

it should return a pointer to a character string, thus

char * get_text_from_file ( arguments );

can my bash script access the returned data ?latest?d=yIl2AUoC8zA latest?i=R6lmOW_d8Ig:tPWzDz0FlZc:F7zBnMy latest?i=R6lmOW_d8Ig:tPWzDz0FlZc:V_sGLiP latest?d=qj6IDK7rITs latest?i=R6lmOW_d8Ig:tPWzDz0FlZc:gIN9vFwR6lmOW_d8Ig
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments