Search Results

Search: Posts Made By: manuu
3,153
Posted By manuu
come on!! sed -n 's/ .*=[^>]*//p;d'
come on!!
sed -n 's/ .*=[^>]*//p;d'
1,135
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,224
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,153
Posted By manuu
You tried this? sed -n 's/ style=[^>]*//p;d'
You tried this?
sed -n 's/ style=[^>]*//p;d'
8,594
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...
777
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,355
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 08:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy