Search Results

Search: Posts Made By: alexscript
3,940
Posted By alexscript
Thanks for the attempt but i prefer an awk script...
Thanks for the attempt but i prefer an awk script only. Don't a awk script that is launched from a bash script.
Probably Icon will be few useful but i need Categories because, once is clear, with...
3,940
Posted By alexscript
Help: How to convert this bash+awk script in awk script only?
This is the final first release of the dynamic menu generator for pekwm (WM).

#!/bin/bash

function param_val {
awk "/^${1}=/{gsub(/^${1}="'/,""); print; exit}' $2
}

echo "Dynamic {" ...
83,897
Posted By alexscript
Here the screenshot. I don't see any way for...
Here the screenshot.
I don't see any way for transfer on the bank while is clear how spend it on many ways.
8,188
Posted By alexscript
Perhaps this old topic can help you: Problem...
Perhaps this old topic can help you:
Problem with wget (http://h30499.www3.hp.com/t5/System-Administration/Problem-with-wget/td-p/4965613)

For a look at the library used from wget:
$ ldd...
2,995
Posted By alexscript
If you speak about Linux distro i think make more...
If you speak about Linux distro i think make more sense use stable distro instead at solution as Gentoo more focused on performance and last packages. Indirectly using last packages means,...
2,995
Posted By alexscript
Why don't take a look at OpenBSD...
Why don't take a look at OpenBSD (http://openbsd.org/index.html) instead of FreeBSD?

Anyway security aspect is a problem should be tackled as a whole, don't limited to the operating system, more...
Forum: What is on Your Mind? 02-16-2012
23
7,719
Posted By alexscript
I don't care. What i known for sure is that FB...
I don't care.
What i known for sure is that FB imposes very strong privacy issue.
I hope, but i don't sure, that Google don't follow it.
Forum: What is on Your Mind? 02-16-2012
14,651
Posted By alexscript
I'm thinking about Overpopulation. This produce...
I'm thinking about Overpopulation.
This produce mass migration from the undeveloped Countries to the advanced Countries.
Less resource, partially caused from the overpopulation and partially for...
Forum: What is on Your Mind? 02-16-2012
24,030
Posted By alexscript
I use the term Directory despite it isn't much...
I use the term Directory despite it isn't much friendly for certain users ...
83,897
Posted By alexscript
When i click on the Banking link i can see my...
When i click on the Banking link i can see my Bits but i can't transfer it on the bank.
Why?
3,318
Posted By alexscript
#!/bin/bash function param_val { awk...
#!/bin/bash

function param_val {
awk "/^${1}=/{gsub(/^${1}="'/,""); print; exit}' $2
}

echo "Dynamic {"
for CF in `ls -c1 /usr/share/applications/*.desktop`
do
name=$(param_val...
3,318
Posted By alexscript
What means the last 2? If i put 1 a receive an...
What means the last 2?
If i put 1 a receive an output with empty variable:
Entry = "" { Actions = "Exec " }
while if i put 2 or more i receive the correct output.

---------- Post updated at...
3,318
Posted By alexscript
I think that now i understand (at least about the...
I think that now i understand (at least about the { } ).
What about the final 2?
What means?
2,154
Posted By alexscript
Now seem work. Note: I lost the email...
Now seem work.

Note:
I lost the email send 1 hour ago from the moderator so now i use another password.
2,154
Posted By alexscript
Neo: I changed your passwd and logged in (and...
Neo: I changed your passwd and logged in (and out) a alexscript and all works fine. New password sent by email to alexscript.
2,154
Posted By alexscript
Big problem during the access for the password
Every time that i quit from the forum despite i'm 100 % sure that i put the right login (i make a copy and past of the correct data) i obtain always the message that the login is wrong so i must...
3,318
Posted By alexscript
I need line1, i tried to replace: while ( (...
I need line1, i tried to replace:
while ( ( "cat /usr/share/applications/"line | getline line1 ) >0 ) {
with
while((getline line1 < "/usr/share/applications/"line )>0 ) {
but on this way i...
3,318
Posted By alexscript
Thanks i already resolved my initial questions...
Thanks i already resolved my initial questions few moment ago. :)

#!/usr/bin/awk -f
BEGIN {
print "Dynamic {"
while ( ( "ls -c1 /usr/share/applications" | getline line ) >0 ) {
...
3,318
Posted By alexscript
Help for the creation of a Dynamic menu generator for pekwm (Windows Manager)
#!/bin/bash

for i in `ls -c1 /usr/share/applications`
do
#name=`cat /usr/share/applications/$i | grep ^Name= | cut -d = -f2`
#categories=`cat /usr/share/applications/$i | grep ^Categories= |...
4,237
Posted By alexscript
Fix even for that command: categories=$(grep...
Fix even for that command:
categories=$(grep ^Categories= /usr/share/applications/$i | sed 's/;/=/g' | cut -d = -f2)
4,237
Posted By alexscript
#!/bin/bash for i in `ls -c1...
#!/bin/bash

for i in `ls -c1 /usr/share/applications`
do
name=`cat /usr/share/applications/$i | grep ^Name= | cut -d = -f2`
echo $name
done

Ok thanks i resolved there was another error...
4,237
Posted By alexscript
Ok, now i tried using backquotes. But i obtain...
Ok, now i tried using backquotes.
But i obtain errors instead of the result:

$ ./prova.sh
cat: arandr.desktop: File o directory non esistente

cat: qv4l2.desktop: File o directory non...
4,237
Posted By alexscript
If i use ' i obtain that output: cat $i | grep...
If i use ' i obtain that output:
cat $i | grep ^Name= | cut -d = -f2
instead the result of the command.
Don't work ... :(
4,237
Posted By alexscript
How i can put the result of a command inside a bash variable?
#!/bin/bash
#...
for i in `ls -c1 /usr/share/applications`
do
name="cat $i | grep ^Name= | cut -d = -f2"
echo $name
#...
done

Now inside name as output is present:

while i want only the...
Showing results 1 to 24 of 24

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