Jul. 14th, 2015

hazelchaz: (gif)
Wil Baden. A number of my friends and acquaintances have told me stories about helping their parents with their computer questions. I finally have one to share.

My father, Wil Baden (one L), has lost much of his vision, so it's a lot harder to look stuff up in reference manuals the way he would have ten years ago. So he called me up with a couple of questions. The answers were:
command args... 2>&1 | tee file | more...

and
@buf = <FILE>;


(For those who didn't know, my life changed the day my father brought us into his work, and I asked the question "How can a computer play the game of Hangman?" And the questions he asked were about Unix Bash and Perl. How do you get STDERR to go the same place as STDOUT? How do you copy that output to a file and still do something with it to? And how do you read in an entire file at once and put it into an array, one line per element?)

Profile

hazelchaz: (Default)
Chaz Boston Baden

June 2019

S M T W T F S
      1
2345678
9101112131415
16171819202122
23 242526272829
30      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 24th, 2025 11:11 pm
Powered by Dreamwidth Studios