I need to read the last file for a particular day, such as, "Jun 13" because the CSV file is cumulative for the entire day, so I don't want all the previous files, I just want the last file, for that day.
I ran an 'ls -al | grep "June 13" > myLs.txt' (simplified) to list all files from that day.... (2 Replies)
Hi Guys
How u all doing?
I am having tough time to achieve this I have a unix .ksh script which calls
sql script
Right now I harcoded column id's in sql script but I want to read them from a txt file
1084,1143,1074,1080,1091,1090,1101,1069,1104,1087,1089,1081
I want to read this... (4 Replies)
Hello,
I have a set of .txt files I cannot read.
This is a part of what I see.
Is there a way to view these files?
_MO<P.6D@K;WU<B$X-;)SIV/ROO!UL+1P=VTT-?,SLC`MI/6QMS#UYGGT\+)C=#\UIO`TL/0]=#/T)
it's about 3 pages.
Thanks for your help.
Joe (3 Replies)
Hello All,
I just want help in coding a simple shell script since i am a newbie for UNIX and i started learning unix and shell scripting basics recently.
I am having a data like this in .txt file.
Product Name : XYZ
Price : 678.1
Best Buy Price : 600
Product Name : ABC
Price : 465... (3 Replies)
I am using the while-loop to read a file.
The file has lines with null-terminated strings (words, actually.)
What I have by that reading - just a first word up to '\0'!
I need to have whole string up to 'new line' - (LF, 10#10, 16#A)
What I am doing wrong?
#make file 'grb' with... (6 Replies)
Hi Frnds...
I have an input file name.txt and another file named as source.. name.txt is having only one column and source is having around 25 columns...i need to read from name.txt line by line and search it in source file and then save the result in results file..
I have a rough idea about the... (15 Replies)
I want to add/append the info in the following format to my.txt file.
20130702|abcd20130702.txt FN|SN|DOB
I tried the below script but it throws me some exceptions.
<#!/bin/sh
dt = date '+%y%m%d'members;
echo $dt+|+members+$dt;
/usr/bin/awk -f
BEGIN { FS="|"; OFS="|"; } { print... (6 Replies)
Hi All
Is there a way to export every line into new txt file where by the title of each txt output are same as the line ?
I have this txt files containing names:
Kandra Vanhooser
Rhona Menefee
Reynaldo Hutt
Houston Rafferty
Charmaine Lord
Albertine Poucher
Juana Maes
Mitch Lobel... (2 Replies)
hi,
i'm trying to write a tcsh script that reads in a text file (one column) and the runs a different command for each line of text.
i've found lots of example commands for bash, but not for tcsh.
can anyone give me a hint?
thanks,
jill (8 Replies)
Discussion started by: giuinha
8 Replies
LEARN ABOUT DEBIAN
bntext
bntext(5) File Formats Manual bntext(5)NAME
bnmotd.txt, bnnews.txt bnissue.txt - messages for the Unix Battle.net daemon
DESCRIPTION
The file bnmotd.txt contains text displayed by bnetd(1), when users first log into the server.
The file bnnews.txt contains text displayed when the user uses the /news chat command.
The files consist of raw text with printf-style formatting escapes. Each line of a file can contain a type formatter from the following
list:
%B Use the broadcast attribute (???).
%C Execute the line as if the user entered it as a command.
%E Use the error attribute (red).
%I Use the info attribute (yellow). This is the same was %W.
%M Normal chat message (white). This will appear as if the user said it.
%T Emote chat message (???). This will appear as if the user said it.
%W Use the warning attribute (yellow). This is the same was %I.
Within a line, any of the following format formatters may be used:
%% Expand to a literal percent sign (%).
%a Expand to the number of accounts on the server.
%c Expand to the number of channels on the server. This includes all permanent and current temporary channels.
%g Expand to the number of games on the server. This includes both public and private (passworded) games.
%h Expand to the hostname of the server (as returned by gethostname(2)).
%i Expand to this user's account ID number, formatted with a leading pound (#) sign and leading zeros.
%l Expand to this user's current chat name which is usually the same
%r Expand to the IP of the remote machine (the client).
%t Expand to four character client tag.
%u Expand to the number of users logged into the server.
%v Expand to the version number of the server.
SEE ALSO bnetd(1)AUTHOR
Ross Combs (ross@bnetd.org)
2 August, 2001 bntext(5)