I appreciate all the help that I've already received but am running into one problem. I can find how to add something before a file with ascending numbers but not like this. I basically have a file that looks like this:
100
101
102
103
104
I need to add the following before each line with... (5 Replies)
Hello Friends,
I want to merge two files in ascending order on the first field. And if the first field matches sort on 3rd field i.e, TXADDR should come ahead of RXADDR .
file1
9 : TXADDR : 00000000
65 : TXDATA 0000000000000011
83 : TXDATA 0000000000000012
453 :... (10 Replies)
How can I check if array is in ascending order?
---------- Post updated at 01:53 PM ---------- Previous update was at 01:25 PM ----------
Done it now (0 Replies)
Hey guys I'm new to unix and need help printing files in a specified directory according to size in bytes as well as files with equal bites in alphabetical order
the part i have done so far prints out all files in the directory as well as setting a time limit in which they have been modified
... (2 Replies)
Hi Am using unix aix
I have a group of files in File1
For ex:-
Vi file1
A0405
A0605
A0805
When i tried using awk command am getting an error as No space
a=`awk 'NF < 1 {next;} p && p != $1 { for( i = p; i < $1; i++ )print i; } {p = $1 + 1 }' file2`
Error message:-
+ + awk NF <... (7 Replies)
Hi all ,
am using unix aix
I have a files in one directory..
my files as in format qqss0607.ddd.. (06 is date 07 is month)
how to check the missing dates ....
can anyone tell me... (9 Replies)
Hi !
I am just trying to list my files in ascending order so that in some other software, I just want merge with some modification, when I list its coming like this
new-10.txt
new-11.txt
new-12.txt
new-13.txt
new-14.txt
new-15.txt
new-16.txt
new-17.txt
new-18.txt
new-19.txt... (2 Replies)
Hi,
I need to list files in ascending order. Filenames are in format inpTDT_1, inpTDT_2, inpTDT_3 and so on.
I want to list them in the ascending order based on the digit after underscore and send the output to a file.
Please help (5 Replies)
Discussion started by: Neelkanth
5 Replies
LEARN ABOUT PHP
fetchfile
SENDFILE(1) General Commands Manual SENDFILE(1)NAME
fetchfile - fetch file(s) via O-SAFT protocol
SYNOPSIS
fetchfile [ -46lakdPriqQvVI ] [ -f user ] [ -s [user@]server ] [ -C[wr]=conffile ] filename
fetchfile [ -lakdPriqQvVI ] [ -f user ] [ -s [user@]server ] [ -C[wr]=conffile ] -n filenumber
DESCRIPTION
fetchfile fetches files from a SAFT server to the local user spool.
In the SAFT server spool there must lay your sendfile public key to identify yourself. This key can be generated by the fetchfile -I com-
mand and has to be transfered to the SAFT server at the very first time. This prevents other people to steal your files.
You may list or fetch your files from the server. But remember, they are stored first in your local sendfile spool. You have to call
receive to really receive them to your current directory.
OPTIONS -4, -6 Explicitly force IPv4 or IPv6 connections. By default, the program will try to resolve the name given, and choose the appropriate
protocol automatically. If resolving a host name returns both IPv4 and IPv6 addresses, fetchfile will try to use the adresses in
the order they are returned by the resolver.
-l Only list the files on the server.
-a Fetch all files.
-k Keep files on server after fetching.
-d Delete files without receiving.
-n Specify the file number instead of the file name.
-r Call receive automaticly afterwards.
-f user Restrict file selection to this specifc user.
-V Show version information and exit.
-v Be verbose and show SAFT protocol messages.
-P Send files to stdout directly.
-i Ignore testing whether file has been already fetched.
-q Quiet mode 1: print no transfer messages.
-Q Quiet mode 2: print no transfer, information or warning messages.
-I Initialize fetchfile and the pgp key pair.
-s [user@]host
Specify an alternate saft server and/or alternate user.
-Cr=conffile
Read configuration file "config" or "restrictions" from server.
-Cw=conffile
Write configuration file "config" or "restrictions" to server.
ARGUMENTS
filename or filenumber
Specify the name of the file or its number (with option -n).
EXAMPLES
fetchfile -l
fetchfile -a
fetchfile -Cr=config -s saft.belwue.de
FILES
/var/spool/sendfile/$USER/
Your local spool directory.
$HOME/.sfspool/
Your local private spool directory if /var/spool/sendfile/$USER/ does not exist.
config, restrictions
Your configuration files for the server. See sendfile(1) for a description.
SEE ALSO receive(1), sendfile(1), fetchfile(7), sendfiled(8).
AUTHOR
Ulli Horlacher - framstag@rus.uni-stuttgart.de
3rd Berkeley DistributionSENDFILE(1)