作者查詢 / ptthidebear

總覽項目: 發文 | 留言 | 暱稱
作者 ptthidebear 在 PTT [ Linux ] 看板的留言(推文), 共24則
限定看板:Linux
首頁
上一頁
1
下一頁
尾頁
[問題] 安裝OS後重開機沒有依照grub指定順序開機
[ Linux ]3 留言, 推噓總分: 0
作者: ptthidebear - 發表於 2013/08/05 21:45(12年前)
2Fptthidebear:您好,但其實並不是每次都是一樣的狀況08/14 22:35
3Fptthidebear:也是有reboot之後直接進去有xen的kernel的機會08/14 22:35
[問題] shell script中的變數名稱可以變數化嗎
[ Linux ]5 留言, 推噓總分: 0
作者: ptthidebear - 發表於 2012/08/01 10:14(13年前)
4Fptthidebear:感謝大大!!!! 我要再加油了Orz08/01 10:42
Re: [問題] 請教shellscript parse [ 1, 2 ] 中數字
[ Linux ]2 留言, 推噓總分: +1
作者: mathfeel - 發表於 2011/10/22 19:34(14年前)
2Fptthidebear:感謝大大 最近沒啥時間測試東西Orz 晚點來試試看!!!10/24 08:11
Re: [問題] 請教shellscript parse [ 1, 2 ] 中數字
[ Linux ]6 留言, 推噓總分: +3
作者: guessi - 發表於 2011/10/20 02:31(14年前)
1Fptthidebear:感謝大大!看來我要好好加強sed awk 和re的知識了QQ"10/20 08:48
2Fptthidebear:我還想請教一個問題是 如果連續兩行一樣內容10/20 08:49
3Fptthidebear:似乎出來的結果就都是為n@@?(剛剛試了一下好像是這樣)10/20 08:49
Re: [問題] 請教shellscript parse [ 1, 2 ] 中數字
[ Linux ]1 留言, 推噓總分: +1
作者: xyz2012 - 發表於 2011/10/19 05:59(14年前)
1Fptthidebear:感謝大大~ 我是Linux平台~10/19 08:35
Re: 請教shellscript parse [ 1, 2 ] 中數字
[ Linux ]13 留言, 推噓總分: +4
作者: WolfLord - 發表於 2011/10/18 14:18(14年前)
2Fptthidebear:板主佛心!!! 謝謝板主~有空我來試試看XD!10/18 16:40
[問題] 請教shellscript parse [ 1, 2 ] 中數字
[ Linux ]37 留言, 推噓總分: +3
作者: ptthidebear - 發表於 2011/10/17 10:04(14年前)
2Fptthidebear:感謝大大~ 不過出來的結果是空的 XDa"10/17 10:34
8Fptthidebear:我是用cat test.txt | grep -o '[0-9]*'10/17 10:54
9Fptthidebear:test.txt內容就是原文裡面的例子10/17 10:54
11Fptthidebear:想請教大大如果不是一行的話...有什麼其他想法嗎@@?10/17 11:10
12Fptthidebear:因為有特殊需求所以儘量得在一行完成...Orz10/17 11:12
15Fptthidebear:cat test.txt | grep -o '[0-9]*' 出來結果是空的10/17 12:34
19Fptthidebear:有呀~我剛剛跑不出來就man了一下 -o, --only-matching10/17 14:18
20Fptthidebear:grep (GNU grep) 2.5.110/17 14:19
22Fptthidebear:都還在@@" 我剛剛試另一個test file 內容只有數字10/17 16:06
23Fptthidebear:12345 然後 cat test2.txt | grep -o '[0-9]*'有出現10/17 16:07
24Fptthidebear:12345沒錯...10/17 16:07
27Fptthidebear:可能沒辦法耶,因為就是要在這個平台上跑...10/17 19:04
28Fptthidebear:我沒辦法控制這些版本Orz10/17 19:04
31Fptthidebear:謝謝各位,我想另外寫個小程式解決它了~:)10/17 23:30
37Fptthidebear:我是想用C,不過可能會跨平台,所以應該會用python10/18 10:24
首頁
上一頁
1
下一頁
尾頁