What one finds challenging another finds simple...
(HPUX B.11.11)
I have a text file named something like 12345.dst that could look like this:
DOG
CAT
NONE
TEST
CAT
What I want to end up with is 12345.dst looking like this:
CAT
DOG
TEST
removing "NONE" should it be there and... (1 Reply)
HI,
I have a file which comes from crystal reports in the below format.
I need to clean the file so that i will only have the columns(deptid,empid,ename,sal) and the data below the column names.
There is a bug in the repoting tool( we only see page1-1 for every department).The rundate change... (1 Reply)
When I run command:
>chdev -l hdisk1 -a pv=clear
It shows
Method error (/etc/methods/chgdisk):
0514-062 Cannot perform the requested function because the
specified device is busy.
run:
#>fuser -kxuc /dev/raw1
/dev/raw1:
How to clean PV id? (4 Replies)
I have a file in following format
directory1=/out/log
purgedays1=4
extn1=log,out,txt
directory2=/clean/log
purgedays2=4
extn2=log,out
now i need need to create a script that reads this file and cleans all the files with the given extn from the given directory.
The catch here is that... (2 Replies)
Hi,
Has anyone ever encountered the following scenario:
I am working on a SUN server with solaris 10 installed and veritas managing the filesystem. One of the file systems has become full:
df -kh /ossrc/dbdumps
Filesystem size used avail capacity Mounted on... (6 Replies)
As you will verify, I am a really naive user of AIX 5.1. As such I wonder if you could possibly let me know of a command or procedure I could use to automatically, globally and safely, remove all useless files from my machine. I'm not referring to my own files because I perfectly know which of them... (1 Reply)
The purpose of this script is to scan the /etc/passwd file one line at a time comparing the usernames to the usernames found in a database table. I will later locked every account which is not in the database table.
I have export the userlist from the database in a file (/tmp/userlist). It... (1 Reply)
A friend routed some console output to a file for me. The problem is he used backspace and escape sequences all over the place. Using vi to view the file makes it difficult to read. Is there a program that will process the backspaces and remove the escape sequences?
e.g.,
bash-3.00$ pwd^ (5 Replies)
Hello Group,
Once again another script hacked together from a few sources to try and suit my needs. This is to go through a /temp directory and for each ls entry ask which Dir of three I want it sorted.
The script works but there are a few behaviors that are odd so I figured I'd ask for help... (2 Replies)
In the f1 file below I am trying to clean it up removing lines the have _tn_ in them. Next, removing the characters in $2 before the ninth /. Then I remove the ID_(digit- always 4). Finally, the charcters after and including the first _. It is curently doing most of it but the cut is removing $1... (5 Replies)
Discussion started by: cmccabe
5 Replies
LEARN ABOUT SUSE
ascii-xfr
ASCII-XFR(1) Linux Users Manual ASCII-XFR(1)NAME
ascii-xfr - upload/download files using the ASCII protocol
SYNOPSIS
ascii-xfr -s|-r [-ednv] [-l linedelay] [-c characterdelay] filename
DESCRIPTION
Ascii-xfr Transfers files in ASCII mode. This means no flow control, no checksumming and no file-name negotiation. It should only be used
if the remote system doesn't understand anything else.
The ASCII protocol transfers files line-by-line. The EOL (End-Of-Line) character is transmitted as CRLF. When receiving, the CR character
is stripped from the incoming file. The Control-Z (ASCII 26) character signals End-Of-File, if option -e is specified (unless you change
it to Cotrol-D (ASCII 4) with -d).
Ascii-xfr reads from stdin when receiving, and sends data on stdout when sending. Some form of input or output redirection to the modem
device is thus needed when downloading or uploading, respectively.
OPTIONS -s Send a file.
-r Receive a file. One of -s or -r must be present.
-e Send the End-Of-File character (Control-Z, ASCII 26 by default) when uploading has finished.
-d Use the Control-D (ASCII 4) as End-Of-File character.
-n Do not translate CR to CRLF and vice versa.
-v Verbose: show tranfer statistics on the stderr output.
-l milliseconds
When transmitting, pause for this delay after each line.
-c milliseconds
When transmitting, pause for this delay after each character.
file Name of the file to send or receive. When receiving, any existing file by this name will be truncated.
USAGE WITH MINICOM
If you want to call this program from minicom(1), start minicom and go to the Options menu. Select File transfer protocols. Add the fol-
lowing lines, for example as protocols I and J.
I Ascii /usr/bin/ascii-xfr -sv Y U N Y
J Ascii /usr/bin/ascii-xfr -rv Y D N Y
AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl
Jukka Lahtinen, walker@netsonic.fi
SEE ALSO minicom(1)
$Date: 2006/10/28 14:35:59 $ ASCII-XFR(1)