|
PD ballot editing station program in Bash
|
| |
I just demoed [link]
in person for Emanuel Cleaver, head of the Congressional Black Caucus,
and Member of the US House of Representatives.
He was very enthused.
This is open source's killer app. votescript/validvote is in Bash.
This is a task
for which closed source is absolutely unacceptable.... more »
|
|
Need help regarding string replacement in a tag file
|
| |
I need to delete a string : (png_structp png_ptr,$/;"
fin the tag
PNG_EXTERN void png_write_sCAL_s PNGARG((png_structp png_ptr,$/;"
and replace it with
(png_structp png_ptr, int unit, png_const_charp width, png_const_charp
height)
expected output should be like this :
PNG_EXTERN void png_write_sCAL_s PNGARG((png_structp png_ptr, int... more »
|
|
portable assembler in Bash
|
| |
just posted an outline of a portable assembler in Bash to
comp.lang.forth
The 386 assembler I wrote in Bash about a decade ago worked.
sORRY if this is a repost.
Rick Hohensee
[link]
|
|
Script help...
|
| |
Hi All,
I apologize up front as I posted this request in the BashScripts.org
group thinking it was this group (this group has much more
participation).
I have a simple shell script to run a check on the 2nd Tuesday of
every month which I thought worked pretty well. However, it appears
that it did not work for this given month and I'd like to see if... more »
|
|
process leak in process substitution
|
| |
I tried a nifty snippet of code from here:
[link]
Essentially, I do this:
read -t1 < <(stat -t "$mount") || echo "$mount timeout";
If my NFS mount is hung, the read times out, and I get a warning
message. However, if the NFS mount is hung, bash also leaks the bash... more »
|
|
return values of bash scripts
|
| |
Hi,
Could someone please help me figure out why:
GNU bash, version 3.2.25(1)-release-(x86_64-redh at-linux-gnu)
1) Why when I do an echo, I get /bin/sh returned as well ?
For example, my script below:
...
SERVICE='crond'
HOST=`hostname`
content=`ps auxw | grep [c]rond| awk '{print $11}'`... more »
|
|
Reading multiple return values with Bashs read function
|
| |
A few days ago I discovered an interesting use of process substitution
and the read function. This makes it possible to read more than one
string from a sub shell without loosing the original standard input.
You can find the details here: [link]
The result is a bit cryptic. Does anybody know a simpler solution for... more »
|
|
Weird custom bash location setup.
|
| |
Hello.
I am trying to figure out why my old .bashrc's current location doesn't show correctly when in /home directory with:
PS1="\u@\h \[\e[33m\]\W\[\e[0m\] \[\`if [[ \$? = "0" ]]; then echo '\e[32m=)\e[0m'; else echo '\e[31m=(\e[0m' ; fi\`\] \$ "
alias grep='grep --color'
When I try it out in /home, I see "hmee":... more »
|
|
|