Sponsored Content
Top Forums Shell Programming and Scripting vim Script: Switching between modes Post 302529227 by dkr on Wednesday 8th of June 2011 08:39:17 PM
Old 06-08-2011
What I have is an HTML product catalog that has written text like product descriptions and the like and below it there is product specifications which is what I am grabbing for my database. Basically, I'm just looking to delete the first n lines of the file. However, n is dependent on wherever the written text ends. I can do it easily with vi commands in insert mode, but not command mode. I may just end up writing a macro and calling it from my script for the parts I can't do in command mode.

Dkr.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

linux communications modes

what r the ways in which a linux application communicate with an external system like linux or windows? (1 Reply)
Discussion started by: shil
1 Replies

2. Post Here to Contact Site Administrators and Moderators

different modes?

What are the Guided and Enhanced Modes? This is something new right? Or have I been the most unobservant guy on the face of this planet? At first I thought it was something for Gollum the forumbot, but its there everytime you start a new thread. What is the difference between the two? And how do... (1 Reply)
Discussion started by: blowtorch
1 Replies

3. Shell Programming and Scripting

switching to another user in shell script...

Hi, I have a shell script in which I need to switch to another user and execute some commands and then come back to the original user. To make it more clear - I have to log in as user root then 'su' to jag - execute a script called backup.sh and then logout and come back to root again.. ... (1 Reply)
Discussion started by: bjagadeesh
1 Replies

4. UNIX for Dummies Questions & Answers

Switching user inside a shell script

Dear All, I want to switch a user inside a shell script.My current user say x and user y to whom i want to switch both have login on the same server,the one on which i want to execute my script on. "I want to do something like this su - y Password should be provided in the script itself.And... (6 Replies)
Discussion started by: navjotmannan
6 Replies

5. Solaris

Very Importan - Vim Settings - Error while opening a File using vim

I downloaded vim.7.2 and compiled the vim source . Added the vim binary path to PATH (Because iam not the root of the box) when i load the file using vim it throws me an error Error detected while processing /home2/e3003091/.vimrc: line 2: E185: Cannot find color scheme darkblue line... (0 Replies)
Discussion started by: girija
0 Replies

6. Shell Programming and Scripting

problem switching to directory using shell script

Hi, I have an issue with switching to other directory through shell script. I have used cd /Music" but that doesn't help me. Then I have also tried using alias proj 'Music' alias then I get the error permission denied but i set the chmod 777 Music. I am using cShell for my... (3 Replies)
Discussion started by: baluk
3 Replies

7. UNIX for Dummies Questions & Answers

Access Modes

What access modes (permissions) are given to new files you create? (2 Replies)
Discussion started by: naasei
2 Replies

8. Shell Programming and Scripting

Switching user inside a shell script doesn't seem to work

Linux version : Oracle Linux 6.4 Shell : Bash The following script will be run as root. During the execution, it should switch to oracle user and execute few commands. After googling and searching within unix.com , I came up with the following syntax ## Enclosing all commands in double... (7 Replies)
Discussion started by: John K
7 Replies

9. Shell Programming and Scripting

Switching server in UNIX via shell script (SSH )

Requirement: I am writing a shell script which take some file from say Server1 and I have to execute some command on Server2 then I have to manipulate the data and based on that I have to produce report. Problem:I can schedule the shell script on only one server (Server1 or Server2) So, In the... (3 Replies)
Discussion started by: raks2301
3 Replies
dxlicenses(8)						      System Manager's Manual						     dxlicenses(8)

NAME
dxlicenses - Adds, lists, issues, and deletes software product licenses SYNOPSIS
/usr/bin/X11/dxlicenses DESCRIPTION
When you buy software, the vendor from which you purchase the software issues an agreement called a license, which gives you authorization to use the product. Most of the information required by the License Manager can be found on the Product Authorization Key (PAK), which is issued by Compaq when you purchase a software license. Use the License Manager application, dxlicenses, to: Add a licensed software product Modify a licensed software product List a licensed software product Issue a modified license product Delete a licensed software product The License Manager application can be invoked from the CDE Application Manager from the following categories: Application Group: System_Admin System Admin Subgroup: Daily Admin In License Manager, online help is available by clicking on any Help button or by using the Help pull-down menu. FILES
The License Manager application executable file The License Manager help volume The Directory containing License Manager application icons The License Manager defaults file that sets the default values for the X resources SEE ALSO
Commands: lmf(8), lmfsetup(8) Software License Management dxlicenses(8)
All times are GMT -4. The time now is 05:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy