[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[50 character or so descriptive subject here (for reference)]
From: |
fongb |
Subject: |
[50 character or so descriptive subject here (for reference)] |
Date: |
Fri, 22 Mar 2002 07:33:23 -0800 |
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu'
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I.
-I/home/swt/doko/export/packages/bash/bash-2.03
-I/home/swt/doko/export/packages/bash/bash-2.03/lib -I/usr/include -g -O2
uname output: Linux luna 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i686 unknown
Machine Type: i386-pc-linux-gnu
Bash Version: 2.03
Patch Level: 0
Release Status: release
Description:
I was working on a midterm for my unix class when i found this one... I
use paste with the delimiter set to nothing so it was the -d option with just
open and then closed quotes. Whatever character came after the closed quotes
showed up as the 4th column... not sure how to explain it since i'm still a
newbe and all... guess you'll have to see it to understand...
Repeat-By:
cut -c1 ssn > 1ssn ; cut -c2,3 ssn > mssn ; cut -c4 ssn > 4ssn ; paste
-d'' 4ssn mssn 1ssn
I had a file that was a column of social security numbers and we were
suppose to reveres the last and first digits.
[50 character or so descriptive subject here (for reference)], Caldera OpenLinux User, 2002/03/26