Search Results

Search: Posts Made By: babajuma
1,955
Posted By babajuma
Replace characters then read the file without changing it
Hi All

At the moment the following code works but ideally i do not want to have to change the original $1

tr "\r" "\n" < "$1" > "$1.fix"
printf "\n" >> "$1.fix"
mv "$1.fix" "$1"


FILE=$1...
2,634
Posted By babajuma
- and -
Apparently there are two different types of -

And the ones i where using where the wrong ones.

I am not sure how i got the wrong ones into my script but a few copy and pastes and now it is...
2,634
Posted By babajuma
How to handle the - in building a command in the sh script
Ok

i think i am hopefully focusing in on where the problem is.

when i print out $coffee_out at the end and look at it in a hex editor
the line looks like
splitmovie ...splitAt 3...
2,634
Posted By babajuma
How to build a command in a script
Hi All

I am trying to build a script that will take data from a tab separated file and use that to split up a quicktime file. So far the code is as follows

#!/bin/sh
#test parsing of data
...
Showing results 1 to 4 of 4

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