Search Results

Search: Posts Made By: gotreef
360,624
Posted By Perderabo
HardFeed Part 2
#
# Function to decode an "ls -l" line.

lsdcode() {

typeset -Z2 nmonth day
typeset -i8 octal

#
# get the line, get the first character, split line into words

line="$1"...
360,624
Posted By Perderabo
HardFeed Part 1
#! /usr/bin/ksh


#
# HardFeed -- Harvest A Remote Directory via
# Ftp Enhanced Exhaustive Duplication
#
# Perderabo 11-23-02

VERSION="1.1" # 03-16-04

USAGE="\...
2,843
Posted By Corona688
$$ is just the PID of the shell, a decimal...
$$ is just the PID of the shell, a decimal number. It's used as a unique temporary file name. Getting it from mktemp is more technically correct but some people don't have that.

Thanks for the...
2,843
Posted By Corona688
That's a dangerous use of backticks...
That's a dangerous use of backticks (http://partmaps.org/era/unix/award.html#backticks), useless use of ls * (http://partmaps.org/era/unix/award.html#ls), and useless use of cat...
Showing results 1 to 4 of 4

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