Search Results

Search: Posts Made By: abhisheksunkari
44,331
Posted By jim mcnamara
Usually sort responds to the TMPDIR environment...
Usually sort responds to the TMPDIR environment variable.


export TMPDIR=/tmp
# or maybe your home directory
export TMPDIR=/home/abishek
# sort will now use it
sort bigfile > newfile

...
1,801
Posted By spacebar
This will work if files are sorted by the first...
This will work if files are sorted by the first column(file name):
$ cat t
a~12345
b~54321
c~47789

$ cat t2
a~10/01/2012
b~10/02/2012
c~10/03/2012

$ join -t'~' t t2
a~12345~10/01/2012...
3,362
Posted By purdym
I think this is what you want: Use 'eval'. ...
I think this is what you want:

Use 'eval'.

Ex:
#!/usr/bin/ksh93

COUNT=1
eval LIMIT_${COUNT}=$(($COUNT + 1))

echo $LIMIT_1
eval echo \${LIMIT_$COUNT}
Output:

>
2
2
106,887
Posted By pludi
See the man page of du:
See the man page of du:
Showing results 1 to 4 of 4

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