Search Results

Search: Posts Made By: Michi21609
5,116
Posted By Michi21609
OK, with your help I go this: line1=`sed -ne...
OK, with your help I go this:

line1=`sed -ne 5p ./Buttons | cut -d '*' -f2 | cut -d ';' -f1`

What I need now, is to replace the '5' by a variable ($couter2)... I don't know how to do this, have...
5,116
Posted By Michi21609
Get line of textfile and store it in variable
Hi!

I need to do the following:

(1) I wan't to extract a line of a textfile (defined by a numer) and store it into a variable...

(2) ...but I want to cut out a part of the line which is...
9,267
Posted By Michi21609
Uhhh!? That looks easy... :eek: I expected more...
Uhhh!? That looks easy... :eek: I expected more code....

I have to study it! :)

Thanks a lot!

---------- Post updated at 09:19 AM ---------- Previous update was at 07:42 AM ----------
...
9,267
Posted By Michi21609
Oh, I'm sorry! Examples: --------- ...
Oh, I'm sorry!

Examples:
---------
Car1Something.png --> CarOneSomething.png
Flower6Number_7.png --> FlowerSixNumber_Seven.png
Foo_5_Bar.png --> Foo_Five_Bar.png

I thought about it already,...
9,267
Posted By Michi21609
Script to replace numbers by string
Hi!

I need the following script:

- All numbers in a filename (0-9) have to be replace by a String ("Zero"-"Nine")
- The script has to go through all the files in the current directory and has...
1,683
Posted By Michi21609
Jep, that is exactly what I was looking for! ...
Jep, that is exactly what I was looking for!

Thanks!
1,683
Posted By Michi21609
Script which erases files in Folder older than....
Hi!

Need a script which erases files in folder /home/appl/backup which are older than 3 weeks...

Any idea how to do that? I'm still investigating, but a little speed-up would be nice! ;-)
...
Showing results 1 to 7 of 7

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