09-15-2011
Whats the second and last part supposed to be?
I see nothing wrong with the script (except that dollar sign is enough to display the variable)
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi everyone. i have a problem on installing binary file in my cygwin. could anyone help me wat command should i use to install it ?
thanks a lot (4 Replies)
Discussion started by: wins1982
4 Replies
2. UNIX for Dummies Questions & Answers
i am completely new to unix and am trying to learn with cygwin.
my problem is simple....
when i use the 'man' command, eg 'man cat'
id do not know how to get out of the manual!!!?
if i type '!' and Return,
rather than having just the $ prompt, it has 'sh-3.2$' as a command prompt.... (1 Reply)
Discussion started by: bobby999
1 Replies
3. Programming
hello ... i am new with cygwin ... and i want you to help me. ...
First of all, i want to determine the steady state stream function in a 2-D duct using a square mesh by using the finite-difference methodology and i want to simulate it....and i read a lot of information at... (1 Reply)
Discussion started by: mostafamagdy
1 Replies
4. UNIX for Dummies Questions & Answers
I started to gather some stats from our windows servers through the use of cygwin and sshd :)
is anyone else doing this sort of thing?
interested in some other indicators I should be checking for...
thanks,
manny
the following is only an example of the type of data I am able to... (4 Replies)
Discussion started by: mr_manny
4 Replies
5. UNIX for Dummies Questions & Answers
Hey there,
I´m new to unix and unix.com, so thats my first question :)
Does anybody know if theres a version of Samba which supports Windows7 without changing the LAN-Manager-Authentification to LM&NTLM-Answers?
Hope someone has an answer...
greets from Berlin :) (1 Reply)
Discussion started by: Spidi4u
1 Replies
6. Virtualization and Cloud Computing
Hi Friends,
I have windows7 in my system and I installed vmware having ubuntu OS, I am able to work in both independently.
But I want to share some text file from WINDOWS7 to the vmware ubuntu,
I tried and able to ping vmware(ubuntu) ipaddress from windows7 and vice-versa.
But when... (0 Replies)
Discussion started by: forroughuse
0 Replies
7. Shell Programming and Scripting
I'm using cygwin on win7, What I would like to do is something like this:
cygstart cygwin tail -f /foo/test.log | perl -pe 's/error/\e
I know I can start a new instance using either of these:
mintty -e ...
cygstart tail ...
But neither of those open in ANSI mode, so I can't do... (0 Replies)
Discussion started by: Validatorian
0 Replies
8. Shell Programming and Scripting
Do clear command do not work in cygwin.. (4 Replies)
Discussion started by: parthmittal2007
4 Replies
9. Shell Programming and Scripting
Can anyone tell the steps to download and install unix OS in windows 7 32 bit. I want to install unix and practice commands there. Any version is ok (4 Replies)
Discussion started by: Little
4 Replies
LEARN ABOUT DEBIAN
atexpand
atexpand(3) AtFS Toolkit Library atexpand(3)
NAME
atExpandAttrs, atExpand - attribute expansion
SYNOPSIS
#include <atfs.h>
#include <atfstk.h>
int atExpandAttrs (Af_key *aso, char *buf, size_t bufSize, FILE *dest, size_t destSize, int mode);
int atExpand;
DESCRIPTION
atExpandAttrs scans the char buffer buf to the extent of bufSize for strings of the form $__attributeName optionally followed by a delimit-
ing (second) dollar sign ($). If such a string is found, the buffer contents up to the character preceding the first dollar sign will be
sent to the destination output dest. If an attribute with name attributeName is set for the current attributed software object aso, the
citation-string will be substituted by the value of that attribute and appended to the output. Output of buf contents resumes with the
first character after the whitespace character or dollar sign delimiting attributeName.
Despite the type of the dest argument (pointer to file structure), atExpandAttrs may be caused to copy it's output to a string buffer
rather than an open file. In this case, the constant AT_EXPAND_STRING must be given as mode argument and bufSize must be set to indicate
the length of the destination buffer dest (will be casted to character pointer). If destSize is to small to hold the result string, atEx-
pandAttrs returns a negative value. In the regular case, where output shall be written to a file, the mode parameter must be
AT_EXPAND_FILE.
The atExpand variable suppresses attribute expansion when set FALSE. The variable may be set either directly from the application program
if indirectly by evaluation of the pseudo attribute citation $__xpoff in any buffer scanned by atExpandAttrs. Another pseudo attribute
citation $__xpon cancels the effect of a previous $__xpoff and switches attribute citation on again. It does not, however, enable attribute
citation if this was disabled explicitly by the application program.
DIAGNOSTICS
atExpandAttrs returns -1 on error. Additionally, the atError variable is set and afErrMsg holds a diagnostic message.
SEE ALSO
atattribute(3)
AtFStk-1.12 Fri Jun 25 16:39:36 1993 atexpand(3)