Sponsored Content
Top Forums Shell Programming and Scripting How to Delete the First Blank of the First Col? Post 302422683 by daniel.gbaena on Wednesday 19th of May 2010 06:33:33 AM
Old 05-19-2010
Thank you both. Both solutions works.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to delete a first blank line from the file

I have a file which has the first blank line: sundev22$cat /t1/bin/startallocs /t1/bin/startallocsys 123 sundev22$ Is there a command to remove this first blank line? Thanks for help -A (4 Replies)
Discussion started by: aoussenko
4 Replies

2. Shell Programming and Scripting

Why cant i delete blank lines?

I have a sed pipeline: myVar=$(cat $FILE | sed -n '/regex/,/regex/{/regex/d;p}' | sed -n '/regex/!p' | sed -e s/*:// | sed /regex/,+8d \ ) sed '/^$/d' sed '/./!d' And i've tried to add that in a different order rather then just on the end..Why isnt it deleting all the blank... (2 Replies)
Discussion started by: omgsomuchppl
2 Replies

3. Shell Programming and Scripting

Delete last blank line.

I need to delete the last line only if its blank not otherwise. (3 Replies)
Discussion started by: dinjo_jo
3 Replies

4. Shell Programming and Scripting

Delete blank lines, if blank lines are more than one using shell

Hi, Consider a file named "testfile" The contents of file are as below first line added for test second line added for test third line added for test fourth line added for test fifth line added for test (5 Replies)
Discussion started by: anil8103
5 Replies

5. UNIX for Advanced & Expert Users

Print line based on highest value of col (B) and repetion of values in col (A)

Hello everyone, I am writing a script to process data from the ATP world tour. I have a file which contains: t=540 y=2011 r=1 p=N409 t=540 y=2011 r=2 p=N409 t=540 y=2011 r=3 p=N409 t=540 y=2011 r=4 p=N409 t=520 y=2011 r=1 p=N409 t=520 y=2011 r=2 p=N409 t=520 y=2011 r=3 p=N409 The... (4 Replies)
Discussion started by: imahmoud
4 Replies

6. Shell Programming and Scripting

Printing from col x to end of line, except last col

Hello, I have some tab delimited data and I need to move the last col. I could hard code it, awk '{ print $1,$NF,$2,$3,$4,etc }' infile > outfile but it would be nice to know the syntax to print a range cols. I know in cut you can do, cut -f 1,4-8,11- to print fields 1,... (8 Replies)
Discussion started by: LMHmedchem
8 Replies

7. Shell Programming and Scripting

Modifying col values based on another col

Hi, Please help with this. I have several excel files (with and .xlsx format) with 10-15 columns each. They all have the same type of data but the columns are not ordered in the same way. Here is a 3 column example. What I want to do add the alphabet from column 2 to column 3, provided... (9 Replies)
Discussion started by: newbie83
9 Replies

8. Shell Programming and Scripting

Delete column with exact string in specific col

Hi, my file structur looks like File structure looks: GeneID protein_gi Symbol 1246500 10954455 repA1 1246501 10954457 repA2 1246502 10954458 leuA But some of the cases do not have record for protein id. for example: 1343044 - orf01 I want to remove those rows. But I tried awk... (9 Replies)
Discussion started by: smitra
9 Replies

9. Shell Programming and Scripting

Not delete space blank

Hi everyone, i need to "grep" a file with a string with space blanks, like this: grep "XXXX XX" file.txt The problem, i need put the "XXXX XX" in a string variable. When the script executes the grep, do: gresp XXXX XX file.txt How can i solve this problem? The... (5 Replies)
Discussion started by: Xedrox
5 Replies

10. UNIX for Advanced & Expert Users

Delete blank spaces and blank lines in a file

Hi Gurus, Somebody can say me how to delete blank spaces and blank lines in a file unix, please. Thank you for advanced. (10 Replies)
Discussion started by: systemoper
10 Replies
QSAPECNG(1)							Program Description						       QSAPECNG(1)

NAME
qsapecng - symbolic analyzer of linear analog circuits SYNOPSIS
qsapecng DESCRIPTION
QSapecNG is a Qt-based program for symbolic analysis of linear analog circuits. In fact, it consists of two indipendent parts: the SapecNG framework engine and the application gui QSapecNG. It is an open source, multi-platform project, continuously enhanced by students and researchers of the Department of Electronics and Telecommunications (DET) of the University of Florence. It comes as continuation of SapWin for Windows, in order to give to the project a full compatibility on other platforms. Through QSapecNG users can draw, solve and analyze analog circuits as well as manage them. Since version 2.0.0beta1 there is also the full support for sub-circuits that can be created, saved, reopened and added as part of other circuits. QSapecNG is freely available on SourceForge <https://sourceforge.net/projects/qsapecng/>. A previous version of SapecNG is available too, on SourceForge <https://sourceforge.net/projects/sapec-ng/>. Pre-compiled packages will be also available from projects related pages. USAGE
TODO (see the website) COPYRIGHT
Copyright (C) 2009-2011 Michele Caini <michele.caini@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. THANKS TO
Simone Rossetto <simros85@gmail.com> and his work as a packager. C. R. Bond <http://www.crbond.com/download/misc/rpoly.cpp> for Jenkins-Traub real polynomial root finder implementation. Source code has been used as-is, filtered by an adapter function. Qwt Project <http://qwt.sf.net> for their work. Source code has been used as-is. Nokia and the not yet supported project QtPropertyBrowser <http://qt.gitorious.org/qt-solutions/qt- solutions/trees/master/qtpropertybrowser> (on Qt Solutions Archive <http://qt.nokia.com/products/qt-addons/solutions-archive/index> ). Source code has been used as-is. Project coordinators are: - Prof. S. Manetti (who developed last version of SapWin) - Prof. A. Luchetta <luchetta@unifi.it> Debian packager and maintainer is Simone Rossetto <simros85@gmail.com> GNU GPLv3 2011-08-07 QSAPECNG(1)
All times are GMT -4. The time now is 07:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy