Search Results

Search: Posts Made By: Don Cragun
4,320
Posted By Don Cragun
Why aren't the headers in your input file at the...
Why aren't the headers in your input file at the start of your input file anymore?

What did you try doing to print headers? What syntax error(s) did you get?
4,320
Posted By Don Cragun
Here is a commented version of the script I...
Here is a commented version of the script I suggested:
#!/bin/ksh
# Set IAm to the final component of the pathname used to invoke this script.
IAm=${0##*/}

# If the number of operands given to...
4,320
Posted By Don Cragun
You might also want to try something like: ...
You might also want to try something like:
#!/bin/ksh
IAm=${0##*/}
if [ $# -ne 3 ]
then printf 'Usage: %s year.month1 year.month2 filename\n' "$IAm" >&2
exit 1
fi
awk -F'.' -v ym1="$1" -v...
Showing results 1 to 3 of 3

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