10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have a src code file where I need to uncomment many lines.
The lines I need to uncomment look like,
C CALL l_r(DESNAME,DESOUT, 'Gmax', ESH(10), NO_APP, JJ)
The comment is the "C" in the first column. This needs to be deleted so that there are 6 spaces preceding "CALL".... (7 Replies)
Discussion started by: LMHmedchem
7 Replies
2. Shell Programming and Scripting
Hello,
I have some tab delimited text data,
file: final_temp1
aname val
NAME;r'(1,) 3.28584
r'(2,)<tab>
NAME;r'(3,) 6.13003
NAME;r'(4,) 4.18037
r'(5,)<tab>
You can see that the data is incomplete in some cases. There is a trailing tab after the first column for each incomplete row. I... (2 Replies)
Discussion started by: LMHmedchem
2 Replies
3. UNIX for Dummies Questions & Answers
Is there anyway to display the file content in a subdirectory that starts or ends with a certain filename, say .txt? or start with NTS
$ ls *
dos2unix.bat dos2unix.exe test.txt
FilePermissions:
filepermission.html NTSLA32_SystemDrive.txt NTSLA36_regedit.txt
filepermission.sh ... (1 Reply)
Discussion started by: alvinoo
1 Replies
4. Shell Programming and Scripting
Hi
I want to write a script that reads a directory name, checks if the directory exists and lists the content of that directory.
That's what I have at the moment.
function listDirectory
{
echo "Give in a directory name"
read name
#Here I want to check if the... (4 Replies)
Discussion started by: hss
4 Replies
5. Shell Programming and Scripting
I need help. I have this file, it has 2 fields with at least 300 lines:
1 4
2 3
3 6
4 2
.
.
300 5
My output should be for every line in input file the output should be like this, for example line 1:
wget http://somewebsite/page=1&line=1
wget http://somewebsite/page=1&line=2
wget... (4 Replies)
Discussion started by: zorrox
4 Replies
6. Shell Programming and Scripting
Okay, so I am not quite sure the best way of going about this.
I have a whole stack of files that need items replaced with a code corresponding to it. In particular, I am looking to replace the names of countries with the two letter iso country code. The files themselves are in csv format with... (4 Replies)
Discussion started by: johnlee
4 Replies
7. Shell Programming and Scripting
Hello
Does anyone know how to list a website content
I mean i have a URL and i want to know what is the name the size and the date of the differents files
I have red "wget man page" but i didn't see which option can do this
I don't even know if wget is exactly the command i need
I... (2 Replies)
Discussion started by: the_bouk
2 Replies
8. UNIX for Dummies Questions & Answers
I want to search the string including the symbol like
'search'
for example, file a.txt in \\dir contains,
a for 'appable'
b for 'banana'
c for 'cat'
s for 'search'
Here I need to display(serach outpur) like
\\dir\a.txt s for 'search'
...
...
How to list content with file name... (5 Replies)
Discussion started by: gkskumar
5 Replies
9. Shell Programming and Scripting
Dear Friends ,
$tar tf testing.tgz
a
b
c
d
e
$tar tf testing.tgz a
a
$tar tf testing.tgz a a
a
tar: a: Not found in archive
tar: Error exit delayed from previous errors
I don't know the reason, why last command got failed .How to solve above problem . (1 Reply)
Discussion started by: dharanivasan
1 Replies
10. Shell Programming and Scripting
I have a dropdown menu built in perl tk (I am using active state perl). I want to select a value from the dropdown menu and I want to be able to perform some other actions depending upon what value is selected. I have all the graphical part made but I dont know how to get the selected value. Any... (0 Replies)
Discussion started by: lassimanji
0 Replies
cgi_output(3) cgi/cgi.h cgi_output(3)
NAME
cgi_output - display the CGI output to the user
SYNOPSIS
#include <cgi/cgi.h>
NEOERR *cgi_output (CGI *cgi, STRING *output);
ARGUMENTS
cgi - a pointer a CGI struct allocated with cgi_init
output - the data to send to output from the CGI
DESCRIPTION
Normally, this is called by cgi_display, but some people wanted it external so they could call it directly.
RETURN VALUE
None
SEE ALSO
cgi_debug_init(3), cgi_parse(3), cgi_destroy(3), cgi_js_escape(3), cgi_html_escape_strfunc(3), cgi_register_strfuncs(3), cgi_output(3),
parse_rfc2388(3), cgi_url_validate(3), open_upload(3), cgi_cs_init(3), cgi_url_escape_more(3), cgi_html_strip_strfunc(3), cgi_neo_error(3),
cgi_redirect(3), cgi_filehandle(3), cgi_register_parse_cb(3), cgi_url_escape(3), cgi_init(3), cgi_redirect_uri(3), cgi_cookie_clear(3),
cgi_url_unescape(3), cgi_vredirect(3), cgi_display(3), cgi_html_ws_strip(3), cgi_error(3), cgi_cookie_set(3), cgi_text_html_strfunc(3),
cgi_cookie_authority
ClearSilver 12 July 2007 cgi_output(3)