Sponsored Content
Operating Systems HP-UX After using @, line breaks for a particular user in shell Post 302937866 by RudiC on Tuesday 10th of March 2015 09:19:04 AM
Old 03-10-2015
Please use code tags as required by forum rules!

What is this? Two commands entered on the command line? How is the first command related to the second one resp. the error?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Removing line breaks from a shell variable

Here is my snippet of code... getDescription() { DESCRIPTION=$(dbaccess dncsdb - << ! 2>/dev/null|sed -e 's/hctt_description//' -e '/^$/ d'|tr -d '\r' select hct_type.hctt_description from hct_type,hct_profile where hct_type.hctt_id=hct_profile.hctt_id and... (5 Replies)
Discussion started by: lyonsd
5 Replies

2. UNIX for Dummies Questions & Answers

Newbie ? Need Help with If/Then & Line Breaks...

I hope this makes sense, but I need help with what is indicated with %%, below : A.) ####List active servers and send to file#### # ps -ef | grep jboss | grep sh | awk '{if ($14) {print $12;}else {print $11}}' | sort > /export/home/kthatch/script_results client302 client306 client309... (1 Reply)
Discussion started by: kthatch
1 Replies

3. Shell Programming and Scripting

any better way to remove line breaks

Hi, I got some log files which print the whole xml message in separate lines: e.g. 2008-10-01 14:21:44,561 INFO do something 2008-10-01 14:21:44,561 INFO print xml : <?xml version="1.0" encoding="UTF-8"?> <a> <b>my data</b> </a> 2008-10-01 14:21:44,563 INFO do something again I want... (3 Replies)
Discussion started by: csmklee
3 Replies

4. Shell Programming and Scripting

shell replacing space with line breaks

I'm parsing through a large lslpp -Lc output file with a for loop. The file contains many lines similar to this: zip:zip-2.3-3:2.3: : :C:R:A file compression and packaging utility compatible with PKZIP.: :/bin/rpm -e zip: : : : :0: There appears to be no specialized or secret markup in the... (5 Replies)
Discussion started by: mshulman1980
5 Replies

5. Shell Programming and Scripting

Help with wc and line breaks

Hi everyone, I have gone through the forum trying to find an answer to this question but was unsuccessful. I am hoping that someone can help me with this please. I am trying to get my script to recognise line breaks from a file and to give me a result for wc of each line. So basically, if you... (7 Replies)
Discussion started by: stargazerr
7 Replies

6. Shell Programming and Scripting

Remove line breaks in csv file using shell script

Hi All, I've a csv file in which the record is getting break into 1 line or more than one line. I want to combine those splits into one line and remove the unwanted character existing in the record i.e. double quote symbol ("). The line gets break only when the record contains double... (4 Replies)
Discussion started by: rajak.net
4 Replies

7. Programming

Clean and keep line breaks

Hello, I want to keep line spaces in comments but clean more then 2 after each. Example: $sentence="This is my first sentence This will be in a new row This will be too in a new row but not separated with 3line breaks just with one "; And i want to... (1 Reply)
Discussion started by: AimyThomas
1 Replies

8. Shell Programming and Scripting

Loop breaks on yes/no user input

I have a shell script, and its pretty much done, I decided to add a loop that ends or continues depending on user input. like "would you like to continue?" and if I hit y or yes it will run the loop again until I hit n or no and breaks out of the loop. To be hones I didn't think I needed to add... (2 Replies)
Discussion started by: Demon_Jester
2 Replies

9. UNIX for Dummies Questions & Answers

Page breaks and line breaks

Hi All, Need an urgent solution to an issue . We have created a ksh file or shell script which generates 1 DAT file. the DAT file contains extract of a select statement . Now the issue is , when we are executing the ksh file , the output is coimng with page breaks and line breaks . We have... (4 Replies)
Discussion started by: Ayaskant
4 Replies

10. Shell Programming and Scripting

[BASH] read 'line' issue with leading tabs and virtual line breaks

Heyas I'm trying to read/display a file its content and put borders around it (tui-cat / tui-cat -t(ypwriter). The typewriter-part is a 'bonus' but still has its own flaws, but thats for later. So in some way, i'm trying to rewrite cat using bash and other commands. But sadly it fails on... (2 Replies)
Discussion started by: sea
2 Replies
seesat5(1)                                                    General Commands Manual                                                   seesat5(1)

NAME
seesat5 - provides satellite visibility information. SYNOPSIS
seesat5 [ report ] [ go <Label> ] | [ <command> ... ] DESCRIPTION
This program uses the sgp4 algorithm provided by NORAD to produce position information on a satellite. Seesat5 can produce tracking infor- mation for one satellite over a period of several days, or for a collection of satellites over that period. By providing filter conditions seesat5 prints out only those satellites you might have a chance to see rather than all the satellites that pass above the horizon. Seesat5 is typically run by placing control commands into an init file called SEESAT5.INI. See seesat5 (7) for the description of these commands. If there is no init file Seesat5 will present the operator with a '>' prompt where commands can be entered. From the prompt seesat5 will begin analysis when sufficient parameters have been entered to begin the run. Seesat5 uses selection conditions to filter the data so that only high and bright satellites are printed. Note that the selection condi- tions are used to select whether or not the current passes data will be printed. If it is printed, then the complete pass data is printed. ie. all data from when the satellite comes over the horizon until it goes below. For lines that satisfied ALL the selection conditions, a "+" sign is printed as the first character. Options report This option will disable printing of report records in the output of the run. These include all command lines found in SEESAT5.INI or entered from the command line or the prompt. go Followed by a label, this option causes branching within the SEESAT5.INI to begin execution at the line following label. Branching occurs when the cmdline command is executed in the SEESAT5.INI file. command Most of the commands that can be found in SEESAT5.INI can be entered on the command line. If you desire the SEESAT5.INI file to exe- cute after the command line be sure to make the last command RET. FILES
SEESAT5.INI The control file for seesat5 *.tle Two line element files used by seesat5. SEE ALSO
seesat5(7), SEESAT5.INI(5), tle(5), cr(1) BUGS
Seesat5 is not always able to check data integrity. Since computation and output is driven by the data in the two line element, subtle errors in a tle can cause floating point exceptions. In addition there are several commands that do not work well together, like SHOWTLE and RUNTIME. Please report any problems with seesat5 to Dale Scheetz <dwarf@polaris.net>. Debian Linux 28 March 96 seesat5(1)
All times are GMT -4. The time now is 06:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy