Search Results

Search: Posts Made By: ACTGADE
10,488
Posted By ACTGADE
Found a SED solution which looks: #...
Found a SED solution which looks:

# getCounter
var="# <Path to Project>"
var1="/root/Desktop/Textdatei.txt"
Counter=`sed -n -e "/${var}/=" $var1`
FinalCounter=`expr $Counter + 1`

#...
10,488
Posted By ACTGADE
Found a SED solution which looks: #...
Found a SED solution which looks:

# getCounter
var="# <Path to Project>"
var1="/root/Desktop/Textdatei.txt"
Counter=`sed -n -e "/${var}/=" $var1`
FinalCounter=`expr $Counter + 1`

#...
10,488
Posted By ACTGADE
Tks for your replay. Here is the explanantion: ...
Tks for your replay. Here is the explanantion:

I am writing a script to install a embedded mini-linux via gentoo. The script is communicating with the user via kdialog.
I would have two chances -...
10,488
Posted By ACTGADE
shell overwrite lines in a file
Hello,

I have an external file (file.txt). This shall be a kind of a config file for my shell script. I get the line numbers as to a corresponding entry by grep. Now I would like to substitute the...
3,306
Posted By ACTGADE
Tks for your reply, my problem is here, that...
Tks for your reply,

my problem is here, that I do not know how many lines I expect between the case in ... done brace. That means I cannot prepare Var2, Var3 etc.

So that I have been looking...
3,306
Posted By ACTGADE
Shell script dynamically case in VAR
Hallo,

I am working on a kdialog. This shall be able to load the required commands from a .conf file.

First step runs good by loading the entries (selectabel entries) in a variable:
...
Showing results 1 to 6 of 6

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