Search Results

Search: Posts Made By: manuu
3,120
Posted By manuu
come on!! sed -n 's/ .*=[^>]*//p;d'
come on!!
sed -n 's/ .*=[^>]*//p;d'
1,131
Posted By manuu
What would be the expected output? One of...
What would be the expected output?

One of the things that imagine could be is:
usa_newjercy_042008.dat 042008
usa_newjercy_012009.dat 012009
usa_ohao_042008.dat 042008
1,204
Posted By manuu
Yeap, as pointed before, spawn'd processed...
Yeap, as pointed before, spawn'd processed (child) will inherit parent env vars if its attached to current context with ".".

Little example
test1.sh=>
test=test44
echo $test
./test2.sh &
....
3,120
Posted By manuu
You tried this? sed -n 's/ style=[^>]*//p;d'
You tried this?
sed -n 's/ style=[^>]*//p;d'
8,510
Posted By manuu
I guess that you need to first separate stdout...
I guess that you need to first separate stdout from stderr when you call the script
./script.sh > stdout.log 2>stderr.log

Also, I'd redirect to /dev/null the ouput from calls like:
pr_cnt=`ps...
770
Posted By manuu
No need for script, try this in a test dir: ...
No need for script, try this in a test dir:
find . -name "*.sh" | xargs -I{} mv {} {}.bak
2,232
Posted By manuu
awk '!/^$/ {print $0}' test.txt
awk '!/^$/ {print $0}' test.txt
Showing results 1 to 7 of 7

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