User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 455,998 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,844 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 8 of 8
Search took 0.01 seconds.
Posts Made By: ashikin_8119
Forum: Getting Started and Choosing a Distro Oct 14th, 2008
Replies: 1
Views: 393
Posted By ashikin_8119
How to use find to handle large number of files

Hi all;

I'm having problem with find command in listing large number of files in the current directory.

This is the code that i use:
find *.dat -prune | xargs ls -ltr

This command cannot handle...
Forum: Shell Scripting Jun 20th, 2008
Replies: 0
Views: 1,252
Posted By ashikin_8119
Re-write file using shell script

Hi all;

Really need your help on writing the shell script based on the condition below.
I need to re generate file and display message on the status of the file.


I need re-write the file by...
Forum: Shell Scripting Apr 22nd, 2008
Replies: 0
Views: 492
Posted By ashikin_8119
Problem with awk basic

Hi all;

I have a file that i need to sort and batch with certain criterias. For every 5 lines that meet the criteria i need to add '1' above it to separate it with other batch.

The original file...
Forum: Shell Scripting Mar 19th, 2008
Replies: 1
Views: 519
Posted By ashikin_8119
Re: Append line based on fixed position

Hi all;

Already got the solution for this problem.
For those who have similar problem like this you can use this script:

awk '
/^1/ { s=$0 }
/^3/ {
if ( s == "" ) next
printf "%-21s%s\n",s,$0
Forum: Shell Scripting Mar 19th, 2008
Replies: 1
Views: 519
Posted By ashikin_8119
Append line based on fixed position

Hi all;

I'm having headache on append one line to another based on the fix position.Hope u guys can help.

All i need to do is append the line that start with '3' to a line which start with '1' and...
Forum: Shell Scripting Nov 27th, 2007
Replies: 1
Views: 1,413
Posted By ashikin_8119
Problem with IF condition

Hi all;

I'm stuck with this simple awk script,i need to group the lines which the position of 28 length 3 (if the line not starts with 0)that contains "688" into 1 group and other than "688" into...
Forum: Shell Scripting Nov 25th, 2007
Replies: 3
Views: 979
Posted By ashikin_8119
Re: Helpless in shell sorting

thx all;

i really appreacite it

radouluv;
u're the one who help me in unix.com forum rite?
many thx...
Forum: Shell Scripting Nov 23rd, 2007
Replies: 3
Views: 979
Posted By ashikin_8119
Helpless in shell sorting

Hi all,i am very new to shell and awk scripting,..hope u guys can help...

I need help in sorting and grouping the data in one flat file.The file look like...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 9:47 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC