Search Results

Search: Posts Made By: rei125
10,952
Posted By rei125
Thanks! never realize that i could get the number...
Thanks! never realize that i could get the number of elements in such a way...
Learnt a new thing today! thank you!


It works!
Thank you!
This approach is a bit high level to me... ^^; but...
10,952
Posted By rei125
getting the last parameter through awk & split
Hi,

I would like to know how to extract and get the value of the last element in an array after split.

Let's say i have an input of

aaa mykeyword_111 abc/def/ghi/mno
bbb none ttt.aaa.ccc...
2,363
Posted By rei125
ls -s and ls -l returns different file size
I found an weird thing when i browse through my files with ls -sh option.

512M -rw-rw---- 1 user user 20K Jul 3 23:00 2012 /path/a.MYI .....(1)
512M -rw-rw---- 1 user user 19K Jul 3...
1,159
Posted By rei125
GREAT !!! I've found a solution to this by...
GREAT !!!
I've found a solution to this by doing the following but i think your's is so smart. It just takes 1 line...:b:

for m in `cat ${input} | awk '{print $1}' | sort | uniq `
do
...
1,159
Posted By rei125
Help in unix script to join similar lines of input
Hi,
I have been thinking of how to script this but i have no clue at all..
Could someone please help me out or give me some idea on this?
I would like to group those lines with the same first...
Showing results 1 to 5 of 5

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