Search Results

Search: Posts Made By: vivelafete
Forum: Debian 12-23-2009
3,595
Posted By vivelafete
format/reinstall debian from CD after wrong installation
Hi all,

I installed the newest debian stable wrong. I entered the wrong gateway IP. So the installation prozess couldn't load a mirror image. Now i would like to reinstall Debian with the right...
8,281
Posted By vivelafete
8,281
Posted By vivelafete
get string out of text file after "= "
I have a text file like:

The name of the project = "Symbion centrifuge"
The name of the subsytem = "motor demon"


now i would like to read the string after the = into a variable to...
13,917
Posted By vivelafete
Thank you!
thx a lot!
13,917
Posted By vivelafete
Using sed to replace a string in file with a string in a variable that contains spaces
Hi,

i call my shell like:

my_shell "my project name"

my script:

#!/bin/bash -vx

projectname=$1

sed s/'PROJECT_NAME ='/'PROJECT_NAME = '$projectname/ <test_config_doxy >temp
cp...
24,249
Posted By vivelafete
Thanks for the fast answer! Truly i have to say...
Thanks for the fast answer!
Truly i have to say that i hadn't the problem until i use sed which doesn't like the spaces.
I searched at the wrong place, but you helped me!
best regards!
24,249
Posted By vivelafete
Pass a string with spaces to a shell script
I'm a beginner and wasn't able to google my problem...

I would like to pass a string with spaces to a shell script.

my test_shell:
#!/bin/sh -vx...
Showing results 1 to 7 of 7

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