My satellite receiver is equipped with busybox, so a small linux version.
That is why I can not use certain commands like #tomorrow in date commands or #date -d "+1 day"
and thus I have to use: day1=$
I want to download every day 6 files from the internet but the filenames consist of the date... (6 Replies)
I have a file that is a log file for web traffic. I would like to convert the timestamp in it to unix time or epoch time.
I am using the date command in conjunction with awk to try to do this. Just
myfile:
28/Aug/1995:00:00:38 1 /pub/atomicbk/catalog/home.gif 813
28/Aug/1995:00:00:38 1... (3 Replies)
Hello all,
Here is what my bash script does: sums number columns, saves the tot in new column, outputs if tot >= threshold val:
> cat getnon0file.sh
#!/bin/bash
this="getnon0file.sh"
USAGE=$this"
InFile="xyz.38"
Min="0.05"
#
awk '{sum=0; for(n=2; n<=NF; n++){sum+=$n};... (4 Replies)
Hopefully someone here can point me in the correct direction.
I'm working on a username migration and am trying to map my users ols usernames to the new ones.
Right now every user has a username of firstname.lastname i.e. john.doe
I'm trying to create a bash or python script that will take... (3 Replies)
Hi,
I have a fixed width file.
The way this file works is say for example there are 30 columns in it each with different sizes say 10,5,2, etc...
If data in a field is less than the field size the rest of it is loaded with spaces.
I would like an awk command to that would replace
I have... (8 Replies)
salary_range_report()
{
echo -e ${underline}$redYellow"\nSalary Range Report\n"
tput sgr0
count_0_to_999=0
count_1000_to_2999=0
count_2000_to_5999=0
count_6000_to_9999=0
count_10000_above=0
for i in `cut -d "," -f4 $PAYROLL` #Loop Salary
do
if &&
then
let... (4 Replies)
Hi All,
i worte a shell script which will zcat the .gz file and write it in to a tmp file and then again cat the file and convert it to Dos mode. Next step is i am greping the file to search for the particular string on the 1st line and if the string does not exits it will insert the 1st line... (1 Reply)
I have a fasta file as follows
>sp|O15090|FABP4_HUMAN Fatty acid-binding protein, adipocyte OS=Homo sapiens GN=FABP4 PE=1 SV=3
MCDAFVGTWKLVSSENFDDYMKEVGVGFATRKVAGMAKPNMIISVNGDVITIKSESTFKN
TEISFILGQEFDEVTADDRKVKSTITLDGGVLVHVQKWDGKSTTIKRKREDDKLVVECVM
KGVTSTRVYERA
>sp|L18484|AP2A2_RAT AP-2... (3 Replies)
I have a fasta file as follows
>sp|Q8WWQ8|STAB2_HUMAN Stabilin-2 OS=Homo sapiens OX=9606 GN=STAB2 PE=1 SV=3
MMLQHLVIFCLGLVVQNFCSPAETTGQARRCDRKSLLTIRTECRSCALNLGVKCPDGYTM
ITSGSVGVRDCRYTFEVRTYSLSLPGCRHICRKDYLQPRCCPGRWGPDCIECPGGAGSPC
NGRGSCAEGMEGNGTCSCQEGFGGTACETCADDNLFGPSCSSVCNCVHGVCNSGLDGDGT... (3 Replies)
Discussion started by: jerrild
3 Replies
LEARN ABOUT OSX
deleg_proc
deleg_proc(n) Interpreter utilities deleg_proc(n)
__________________________________________________________________________________________________________________________________________________NAME
deleg_proc - Creation of comm delegates (procedures)
SYNOPSIS
package require Tcl 8.3
package require interp::delegate::proc ?0.2?
::interp::delegate::proc ?-async? name arguments comm id
_________________________________________________________________DESCRIPTION
This package provides a single command for the convenient creation of procedures which delegate the actual work to a remote location via a
"channel" created by the package comm.
API
::interp::delegate::proc ?-async? name arguments comm id
This commands creates a procedure which is named by name and returns its fully-qualified name. All invokations of this procedure
will delegate the actual work to the remote location identified by the comm channel comm and the endpoint id.
The name of the remote procedure invoked by the delegator is [namespace tail name]. I.e., namespace information is stripped from the
call.
Normally the generated procedure marshalls the arguments, and returns the result from the remote procedure as its own result. If
however the option -async was specified then the generated procedure will not wait for a result and return immediately.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category interp
of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
comm, delegation, interpreter, procedure
CATEGORY
Programming tools
COPYRIGHT
Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
interp 0.2 deleg_proc(n)