Search Results

Search: Posts Made By: Starcast
2,951
Posted By Starcast
sed and XML
I am trying to edit an XML file with sed, and I can successfully do so, but the resulting file no longer opens as an XML file?

I am working on a project to automate DVD authoring. I am using DVD...
1,459
Posted By Starcast
Yes, that's exactly what I'd like to do... just...
Yes, that's exactly what I'd like to do... just don't know how... and unfortunately my 'nawk' skillz are not quite up to par on this one.

I think your suggestion is actually a bit more...
1,459
Posted By Starcast
More efficent Data Parsing
I am looking for a way to parse out some numbers from text. This is an excerpt from a larger script that I am trying to make run a little smoother.

Specifically this script is used to Capture DV...
11,195
Posted By Starcast
Ok, so I turned my brain on and figured out my...
Ok, so I turned my brain on and figured out my solution... I hate it when I catch myself getting lazy on here...

For anyone following the thread, this does what I described needing

trap...
11,195
Posted By Starcast
Yes, I see that.... I just finished a 2 hr tape...
Yes, I see that.... I just finished a 2 hr tape and my warning poped up after it ran for the full allotted time and exited normally...

I changed the -2- to -0- just guessing and i thought it was...
11,195
Posted By Starcast
I ended up making it look like this, But you gave...
I ended up making it look like this, But you gave what I needed to get there, thanks.

#!/bin/bash
trap 'echo -e "\E[31;40m\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n
+...
11,195
Posted By Starcast
Intercepting SIGINT in a bash script
I've written a bash script which captures video with DVgrab. Because of the nature of the tapes that I am digitizing, sometimes I want to quit capturing before the time that I set for DVgrab. When...
2,201
Posted By Starcast
Isolating a specified line - awk grep or somthing else?
I'm trying to isolate attached hard drives that auto-mount to /media so that I can use them as variables in a bash script...

so far I'm here:

variable=$(ls /media | grep -v cdrom )

This...
3,585
Posted By Starcast
Same result
Thanks for the suggestion, but after inserting those two lines I am still getting the same error message...

Any other ideas?

Thanks,
-Starcast
3,585
Posted By Starcast
Read error: Resource Unavailable
Franklin52: Your Loop suggestion works perfectly for what I want, thanks...

But I've discovered my problem is not in my looping instructions, but in a -read- error, namely one that looks like...
3,585
Posted By Starcast
Hmm, I think I wasn't clear in what I'm trying to...
Hmm, I think I wasn't clear in what I'm trying to achieve. My problem is not related to stopping the script, but in getting the script to repeat.

There are 4 questions that the script prompts the...
3,585
Posted By Starcast
Help with proper loop and variables
I have written a Bash Script that captures video via the Linux application DVgrab. When run my script prompts the terminal user to enter all the necessary information for the capture, save location,...
77,222
Posted By Starcast
Thanks!
That is exactly what I needed Thanks! At first it was counting down and then starting the capture, but I just added an "&" and she works great!

Timer

(Just wanted to include this for search...
77,222
Posted By Starcast
Display runnning countdown in a bash script?
I am looking for a way to display on a single line, a running countdown for a given amount of time in a terminal using a bash script.

I am looking for this to use as part of a larger bash script...
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 04:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy