码迷,mamicode.com
首页 >  
搜索关键字:sed awk    ( 13063个结果
windows中的换行符和Linux中的换行符
# cat -A tmp.tmp 120.4987 12.717858^M$ ^M 对应的字符是 \r # cat tmp.txt | awk -vRS='\r\n' '{print $2,$1}' 或者转换格式文件 yum install dos2unix -y dos2unix tmp.tmp ...
分类:Windows程序   时间:2021-05-24 13:41:55    阅读次数:0
数据结构 02-线性结构3 Reversing Linked List (25 分)
Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, ...
分类:其他好文   时间:2021-05-24 13:17:05    阅读次数:0
Maven项目中,命令执行特定的testng.xml配置文件
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc ...
分类:其他好文   时间:2021-05-24 12:05:49    阅读次数:0
mybatis的注解开发
准备的model: 1 public class User implements Serializable{ 2 private Integer id; 3 private String name; 4 5 //保存一对多查询结果 6 private List<Account> accounts; ...
分类:其他好文   时间:2021-05-24 10:31:57    阅读次数:0
3. linux常用命令及三剑客 grep sed awk 用法
linux 常用命令:文件、网络、性能 一.常用命令 文件 ls cd pwd mkdir cp rm mv 文件属性 # 授权 r: 读权限 4; w: 写权限 2; x: 操作权限 ; r+w+x=7,是最高权限 chomd 777 文件名 网络 ping # 测试网络连接情况 ping -c ...
分类:系统相关   时间:2021-05-24 10:00:59    阅读次数:0
发送post数据
static void Main(string[] args) { //Console.WriteLine("Hello World!"); //ShowInt(10); //ShowString("test"); //ShowDateTime(DateTime.Now); //ShowObject ...
分类:其他好文   时间:2021-05-24 04:48:03    阅读次数:0
WinForm实现无边框窗体的拖动
一个登录窗体,FormBorderStyle属性设置为None,打开后不能挪动位置,有时候会妨碍使用,有点恶心。网上找了段内容,实现拖动效果: #region 无边框拖动效果,Form被PictureBox覆盖,Form事件不会被触发 [System.Runtime.InteropServices. ...
分类:Windows程序   时间:2021-05-24 04:38:38    阅读次数:0
Mybatis xml映射方便的写法
<sql id="insertColumn"> data_job_id, ds_info, src_ds_type, dst_ds_type, scene_state, last_checked_time, check_period_ms, last_round_reset_time, round_ ...
分类:其他好文   时间:2021-05-24 04:16:16    阅读次数:0
linux apline - ssh服务安装及免密登陆实现
目标机器 安装ssh服务 apk add openssh-server apk add openssh sed -i "s/#PermitRootLogin.*/PermitRootLogin yes/g" /etc/ssh/sshd_config && \ sed -i "s/#Port.*/Po ...
分类:系统相关   时间:2021-05-24 02:45:26    阅读次数:0
【转】3种TCP连接异常的情况。
原文:http://www.bubuko.com/infodetail-3022082.html 本文介绍3种TCP连接异常的情况。 1.server端没有启动,client尝试连接 ./client dial failed: dial tcp 127.0.0.1:8080: connect: co ...
分类:其他好文   时间:2021-05-24 01:04:14    阅读次数:0
13063条   上一页 1 ... 4 5 6 7 8 ... 1307 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!