Sponsored Content
Top Forums Shell Programming and Scripting Open and work on a .doc file with bash script Post 302364524 by bobbasystem on Friday 23rd of October 2009 09:14:11 AM
Old 10-23-2009
Question Open and work on a .doc file with bash script

Hello there....unix users Smilie

I hope you can help me with this:

I need open a doc file or xls files and work this files whit a bash script.
For example: Open a doc file and copy information from a txt file in this doc file or xls file.
Is it possible?

Sorry for my english...I'm chilean (spanish language).
I'm wait for your answers. Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

cant get a counter to work in bash scipt, this is calling expect script

I have looked high and low, tryed lots of diffrent things but cant get a simple counter to work right. what i need is to increase a count ever time it finishes the test, pass or fail. example TEST PASS 1, NEXT TEST PASS 2, I curently have set foo o while {$foo <=5} { incr foo puts... (1 Reply)
Discussion started by: melvin
1 Replies

2. Shell Programming and Scripting

pipe to grep doesn't work in bash script

Hi, I'm trying to write a script that checks gvfs to see if a mount exists so I can run it from network-manager's status hooks. I thought I'd pipe the output of gvfs-mount -l to grep for the particular mounts I care about. When I do this in a bash script: cmnd="gvfs-mount -l | grep -i... (4 Replies)
Discussion started by: kcstrom
4 Replies

3. Programming

Creating a bash script that create/open database

Hi. I have two text files(tables) which include some information and I want to make some query codes using them. First of all, I want to create bash script that read this two tables, create/open database and insert data from files into database. #!/bin/bash while read line; do ... (1 Reply)
Discussion started by: rlaxodus
1 Replies

4. Shell Programming and Scripting

Bash script reg-exp , replace , open and write

Hi All I am a new in scripting language and I would like help for you guys I would like to create a file named constant.h and search into all files *.m in specific directory for a reg-exp @"LBL_]+" exp: @"LBL_75847" , and write those matchs to constant.h if there are not written (no... (15 Replies)
Discussion started by: molwiko
15 Replies

5. Shell Programming and Scripting

Nested double quotes won't work in my bash script?

In a bash script I have: LSCMD="find /project/media/ -mindepth 2 -maxdepth 2 -name \"files*pkg\"" ALL_PACKAGES=$( $LSCMD | sort 2>/dev/null) But I get nothing returned. It's just all blank. If I run the find command in a terminal, I get dozens of hits. I figure it's the way how I'm... (3 Replies)
Discussion started by: superbbrr
3 Replies

6. Shell Programming and Scripting

Help with bash script to open arbitrary # of independent xterms

I run multiple processes that require I pop open multiple xterms, how can I do this in a script and have each xterm colored differently and labled for the servername they represent, for example if I do ssh username@serverip I would need the xterm to be opened with that servername at the top and... (3 Replies)
Discussion started by: smth333
3 Replies

7. Shell Programming and Scripting

Rsync in bash script doesn't work even after placing pub key in target server

Hello Friends, My bash script is like this #!/bin/bash # request Bourne shell as shell for job #$ -S /bin/bash # assume current working directory as paths #$ -cwd #$ -N rsync-copy # # print date and time date rsync -rltD --progress "ssh -i /home/myname/.ssh/id_rsa"... (4 Replies)
Discussion started by: jacobs.smith
4 Replies

8. UNIX for Advanced & Expert Users

[BASH] Errormessages and Traps with a 'here-doc'

Happy holidays everyone :) I'm trying to increase usabilty for my scripted project-, for that i wanted to apply an error message poping up upon every and any error (other than proper exit) indicating the enduser a uniform, and hopefully readable error messsage. To achieve this, i wrote a... (4 Replies)
Discussion started by: sea
4 Replies

9. Shell Programming and Scripting

Encyrpt does not work in bash script

Hi All, I am looking here from any one. I am preparing script for create user and set password to remote servers. I have made password less. and able to add user and also able to set entry in /etc/shadow. But it does not make complete entry in shadow file. it lefts initial... (6 Replies)
Discussion started by: yash_message
6 Replies

10. UNIX for Beginners Questions & Answers

Bash script does not work as expected

Repeat this text in a file named notes.txt and run the script Before bash is a good language a blank line appears Also, the following notes are displayed incorrectly What is bad? ================================== Title : Note 1 ================================== Category: Computer Date... (3 Replies)
Discussion started by: cesar60
3 Replies
SVN::Hooks::DenyChanges(3pm)				User Contributed Perl Documentation			      SVN::Hooks::DenyChanges(3pm)

NAME
SVN::Hooks::DenyChanges - Deny some changes in a repository. VERSION
version 1.19 SYNOPSIS
This SVN::Hooks plugin is used to disallow the addition, deletion, or modification of parts of the repository structure. It's active in the "pre-commit" hook. It's configured by the following directives. DENY_ADDITION(REGEXP, ...) This directive denies the addition of new files matching the Regexps passed as arguments. DENY_ADDITION(qr/.(doc|xls|ppt)$/); # ODF only, please DENY_DELETION(REGEXP, ...) This directive denies the deletion of files matching the Regexps passed as arguments. DENY_DELETION(qr/contract/); # Can't delete contracts DENY_UPDATE(REGEXP, ...) This directive denies the modification of files matching the Regexps passed as arguments. DENY_UPDATE(qr/^tags/); # Can't modify tags DENY_EXCEPT_USERS(LIST) This directive receives a list of user names which are to be exempt from the rules specified by the other directives. DENY_EXCEPT_USERS(qw/john mary/); This rule exempts users "john" and "mary" from the other deny rules. AUTHOR
Gustavo L. de M. Chaves <gnustavo@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by CPqD. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-24 SVN::Hooks::DenyChanges(3pm)
All times are GMT -4. The time now is 05:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy