449 reputation
38
bio website sourceforge.net/projects/…
location Northeast
age
visits member for 3 years
seen 23 hours ago

Long time Linux user (currently kubuntu). Use Windows 98, and 7 when I have to. Programmed in many languages, currently using bash and awk for most things. Learning Python.

Have one project on sourceforge:

Duplex printing emulator for non-duplex printers (Linux)


Nov
27
comment Is there a tool or method for magnifying existing PostScript or PDF files for printing - not just for display
@Patrick I just tried that, but I have no idea what to tell it. I tried convert in.pdf -resize 300x300^ out.pdf , but it just totally blurred everything.
Nov
27
comment Is there a tool or method for magnifying existing PostScript or PDF files for printing - not just for display
@jthill I know I've done that in the past, but I can't figure out how to load/import it into LibreOffice at the moment. I think there used to be a Sun extension for that.
Nov
27
comment Is there a tool or method for magnifying existing PostScript or PDF files for printing - not just for display
Wow! Something that might actually work. I'll try it and then get back here. I've spent a few minutes with Inkscape, but I really don't know much about it yet.
Nov
26
comment How to write bash script to configure my displays when HDMI is plugged in or unplugged
kscreen totally rocks! Thank you. Now I just have to get used to or fix everything else that ppa updated. I went into System Settings->Multimedia->Audio And Video Settings and moved Built-in Audio Digital Stereo (HDMI) above Built-In Audio Analog Stereo, but no audio switching occurs when I plug/unplug my HDMI cable. What else am I missing?
Nov
26
comment How to write bash script to configure my displays when HDMI is plugged in or unplugged
Holy moley! That ppa got me 347 updates! I don't know why I didn't have it installed before. And, that's before installing kscreen. Now if it would just switch the sound (phonon) to and from HDMI as well ... I'll get back here once the upgrade is done and I can test kscreen.
Nov
26
asked Is there a tool or method for magnifying existing PostScript or PDF files for printing - not just for display
Nov
13
revised How to write bash script to configure my displays when HDMI is plugged in or unplugged
added content and corrections
Nov
13
asked How to write bash script to configure my displays when HDMI is plugged in or unplugged
Oct
27
comment How to get multiple lines out of a file by a regex?
I'm no whiz with sed, but it has a modifier N which adds a newline to the pattern space and then appends the next line of input to the pattern space. I think this will also allow you to search for things across more than one line. It's documented in info sed.
Oct
20
comment Reading and searching long man pages
You can also open man pages in the browser of your choice and use all of its tools. See askubuntu.com/questions/339255/…
Oct
20
comment Reading and searching long man pages
Another, even simpler alternative is to do 'man bash > bashman.txt'. Then you can just open bashman.txt in (another) window in your text editor and use all of it's commands for finding what you want. You can even edit the file to add tags for the sections you refer to most often. Making bashman.txt read-only helps so you don't modify it by accident in your editor.
Sep
27
comment What is the name of the shell feature `>(tee copyError.txt >&2)`?
I do a lot of bash, so I did a man bash > bashman.txt and made it read only. Now, I can load bashman.txt into another window in my text editor (read only) and use all the editor's facilities for searching and copying and pasting.
Sep
27
comment Bash script to get ASCII values for alphabet
There's also an ascii package for debian-based distros, but (at least now) the question is tagged as bash, so these wouldn't help the OP. In fact, it's installed on my system and all I get from man ascii is its man page.
Aug
10
revised Why does this 'at' command not print to the standard output?
put last line of script into the code box where it belongs
Aug
7
comment Why not use “which”? What to use then?
@Rob and Stephane. I stand corrected about csh still being in widespread use. Your summary helps a lot. From the rest of your answer, it appears that it's just plain complicated and a simple answer would not have sufficed.
Aug
3
comment Why not use “which”? What to use then?
I've seen Stephane provide a lot of great answers to other questions. Although this answer probably has the right information in it, I was tempted to down vote it because it totally confused me. e.g. Does anyone use csh any more? Why cover it?
Jul
19
answered Why does this 'at' command not print to the standard output?
Jul
5
comment What are the differences between most, more and less?
In the special case of the man command, you can set the PAGER environment variable to any one of these pagers or to anything else that works to use as the pager for man pages. Here's one I wrote that uses your favorite browser as a pager so you don't have to use a new set of key bindings. dl.dropbox.com/u/54584985/kman
Jul
5
comment What are the differences between most, more and less?
@AlberteRomero That's it, more or less, at least most-ly,. LOL I really like the horizonital scroll in most.
Jul
1
comment Can I configure bash to execute “clear” before every command typed in the console?
Just for completeness, trap '' debug turns this thing off again (two single quotes).