i'm having a heck of a time trying to figure out if i can execute a program, say using execl or similar and using a pipe with that.
ex. i want to print the file size of /home/foo/foo.txt by running
ls -al /home/foo/foo.txt|gawk '{print $5}'

how would i go about doing this? is it even possible? (duh, of course it is... somehow).