Search Results

Search: Posts Made By: Cowardly
5,167
Posted By Cowardly
That is (ofcourse) correct.. And Futher on in...
That is (ofcourse) correct..
And Futher on in the script I am sorting that out.. I am currently busy on recoding that part so it will work..
5,167
Posted By Cowardly
Hmm the sort function still doesn't work how I...
Hmm the sort function still doesn't work how I like to see it.. But maybe it is just impossible in the current code.. Will work on it. I think I have enough info.

A different question:
On the...
5,167
Posted By Cowardly
So how should I put this in my script? Does it...
So how should I put this in my script? Does it also works with printf?
5,167
Posted By Cowardly
No Problem at all... Please rest now :) I...
No Problem at all...

Please rest now :) I will be back in the office on monday :D

Thanks anyway!
5,167
Posted By Cowardly
Ok, one step further... The sort works but...
Ok, one step further...

The sort works but now the last line is added above the sort instead of below:
(See bold Text)

Size Count Who
6.16 Gb 308 Total
...
5,167
Posted By Cowardly
#!/usr/bin/env bash # # # Bash Script...
#!/usr/bin/env bash
#
#
# Bash Script written by R. Blaas
#
# This script will find files of a specific type and displays the full path and size
# Also a total of found files and size is...
5,167
Posted By Cowardly
That did not work.. it generates an error on the...
That did not work.. it generates an error on the pipe..
5,167
Posted By Cowardly
Almost... I will try to put it on different...
Almost...
I will try to put it on different levels but you gave me a starter..

Size Count Who
Total Size = 6.16 Gb
63.02 Mb 56 Automatisering
3.64 Mb 1 Karaoke ...
5,167
Posted By Cowardly
Where should I put this.... ??
Where should I put this.... ??
5,167
Posted By Cowardly
Sorting awk array output?
Hi all,

I have a script which produces a nice table but I want to sort it on column 3.

This is the output line in the script:
# Output
{ FS = ":";
format = "%11s %6s...
6,942
Posted By Cowardly
This is really good.. And it works as well :)...
This is really good.. And it works as well :) Many thanks!

Could you explain a bit more about the variable?
- What does the a mean in the split ?
- what does the [2] do in the variable ?
...
6,942
Posted By Cowardly
Thanks for the reply. But I do not want to...
Thanks for the reply.

But I do not want to change my original find command because of the other fields I am using. Besides that with the sed you filter out the / but it is undefined how many /'s...
6,942
Posted By Cowardly
Not quite. I do not want to change the find...
Not quite.

I do not want to change the find command because I am using multiple fields from that output. In fact I need to capture the 9th ($9) field and manipulate the output so that I only...
6,942
Posted By Cowardly
using awk for setting variable but change the output of this variable within awk
Hi all,

Hope someone can help me out here.
I have this BASH script (see below)

My problem lies with the variable path.
The output of the command find will give me several fields. The 9th...
Showing results 1 to 14 of 14

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