Search Results

Search: Posts Made By: robin_simple
Forum: Programming 04-16-2012
6,485
Posted By Corona688
I still don't quite get what you want, no. Why...
I still don't quite get what you want, no. Why would you want to 'mark' bit positions? You already know where they are, and can't even mark anywhere else.

Whatever it is, you can probably do it...
Forum: Programming 04-14-2012
4,068
Posted By jlliagre
What makes you feel you are not pulling anything...
What makes you feel you are not pulling anything from the file ?
My first guess is your seek is wrong (3 is pretty odd for anything magic ...).
Forum: Programming 04-14-2012
4,068
Posted By jlliagre
What makes you insisting writing you are not...
What makes you insisting writing you are not pulling anything from the file while you obviously are ?

Please post the file content, eg:
od -t u1 acct_info | head -1
and what you expect your...
2,167
Posted By Scrutinizer
This thread was merged
This thread was merged
1,276
Posted By Corona688
I think I figured it out. You're using / as the...
I think I figured it out. You're using / as the separator, so when your URL contains / , that mangles the expression.

Use something else instead, like #

sed 's#</body>#<A...
3,106
Posted By agama
You should start by quoting the use of...
You should start by quoting the use of $description. Also, it cannot hurt to quote $reference to prevent issues should a file name contain spaces. You also don't need to cat the file; awk can read...
7,104
Posted By shamrock
echo "what is your name: " && read...
echo "what is your name: " && read name
2,741
Posted By michaelrozar17
Remove the unwanted strings using awk function...
Remove the unwanted strings using awk function sub
find . -type f -exec ls -l {} \; | awk '{sub(/.*\//,"",$9);print $5,$9}'
3,142
Posted By codemaniac
Please try this below command line , i am not...
Please try this below command line , i am not currently in a unix box .

find . -type f -exec ls -1 {} \; | awk -F "/" '{ print $NF }'
3,142
Posted By Scrutinizer
Try: awk -F'[ /]*' '$5 $NF {print $5 $NF}'
Try:
awk -F'[ /]*' '$5 $NF {print $5 $NF}'
3,142
Posted By balajesuri
find . -type f -exec basename {} \;
find . -type f -exec basename {} \;
Showing results 1 to 11 of 11

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