Sponsored Content
Top Forums UNIX for Dummies Questions & Answers syntax gives back funny results Post 88014 by moxxx68 on Monday 31st of October 2005 05:57:10 AM
Old 10-31-2005
MySQL syntax gives back funny results

i do lots of formatting of types/sorts on my laptop and this is probably one of the basic syntax I use

sed '/\<[0-9]*:/G;/\.$/G;' filename | fmt -w 80 > foo

if I add /**.*/;' to the sed command sometimes i am getting the right output some times I get line-errors...
even with basic syntax as I have put above this gives abnormal file output once in a while where I have tried
cat -v ; col -b and fmt -cw which have all worked but never all the time once in a while I can not figure out
why this syntx splits up some lines in the middle of sentences no matter what I try..
any feedback welcome ; thanx in advance moxxx68
Smilie
 

8 More Discussions You Might Find Interesting

1. Solaris

How to use Secure Shell (SSH) to pass results back to invoking machine

Hi, I am running a script from a client machine X which does "SSH" to around 100 other machines in a farm and invokes a local script on each of those machines. Local script localscript.sh on each of those 100 target machines, does some machine specific function like fetch the specific machine's... (1 Reply)
Discussion started by: waavman
1 Replies

2. UNIX for Dummies Questions & Answers

Funny but true....

Hallo everybody I am having a shell script called auto_run.sh in that only the first line works. the second line which has sed command is working only at the # prompt. not within the shell script. What could be the reason. *... sed 's/ //g' KTI >abc works in another shell script without the... (6 Replies)
Discussion started by: naushad
6 Replies

3. UNIX Benchmarks

All came back as 'no measured results'

I downloaded bm.zip, unzipped, compiled and run no problem on this SCO OSR 5.0.7, but resulting log shows "no measured results" in all categories. Any ideas? (1 Reply)
Discussion started by: migurus
1 Replies

4. What is on Your Mind?

Funny Quotes-UNIX

If you people find something funny like these go ahead and post it :) (5 Replies)
Discussion started by: vidyadhar85
5 Replies

5. What is on Your Mind?

Very Funny - Had to laugh

Guys, This is funny. http://i28.photobucket.com/albums/c228/jralph2005/bart.png jaysunn (2 Replies)
Discussion started by: jaysunn
2 Replies

6. What is on Your Mind?

Old, but still funny

Annoyances.org - Upgrading to Wife 1.0 (0 Replies)
Discussion started by: jgt
0 Replies

7. UNIX for Dummies Questions & Answers

back up command and syntax

what is the back up command to take back up files and syntax (1 Reply)
Discussion started by: sunilamarnadh
1 Replies

8. Shell Programming and Scripting

Can ctag and cscope support recording search results and displaying the history results ?

Hello , When using vim, can ctag and cscope support recording search results and displaying the history results ? Once I jump to one tag, I can use :tnext to jump to next tag, but how can I display the preview search result? (0 Replies)
Discussion started by: 915086731
0 Replies
inttypes(5)							File Formats Manual						       inttypes(5)

NAME
inttypes - fixed size integer data types SYNOPSIS
DESCRIPTION
This header file defines integer data types of various sizes. By using the data types defined in this header file, developers can be assured that the data types will have the same properties and behavior on different systems. Since not all implementations are required to support all of the integer sizes defined in this manual page, the proper way to see if a par- ticular size of an integer is supported on the current implementation is to test the symbol that defines its maximum value. For example, if tests false, then that implementation does not support 64-bit unsigned signed integers. The header includes header. This header file defines the following data type. structure type that is the type of the value returned by the function The following macros can be used as formatting options with the family of functions (see printf(3S)). These macros are used to select the correct formatting option for the integer data types defined earlier in this manual page. The following macros can be used as formatting options with the family of functions (see scanf(3S)). These macros are used to select the correct formatting option for the integer data types defined earlier in this manual page. Notes The formatting options for the family of functions all begin with whereas the formatting options for the family of functions all begin with These formatting strings may not be interchangeable. EXAMPLES
The following example shows how to use one of the print formatting options with the function. AUTHOR
was developed by HP. FILES
SEE ALSO
imaxdiv(3), printf(3S), scanf(3S), standards(5), stdint(5). inttypes(5)
All times are GMT -4. The time now is 04:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy